Upload Xamarin application on google play ( Alpha) - Unoptimized APK

a 夏天 提交于 2020-02-07 04:12:33

问题


Im trying to upload my app as an alpha release on google play and I'm getting this error:

Imagem do erro

First I thought that using the "Generate one package (.apk) per selected ABI" whould solve the problem since the error says that I can manage multiple APKs, but it didnt (this screenshot is from one of the APKs generated when I distribute an archive by Ad-Hoc).

If its relevant information, I'm already using linking for SDK And User Assemblies, and my .APK size is 11.9MB on the console.

Does anyone know what to do?


回答1:


Firstly, this isn't an error, it's a warning. It's ok to ignore it.

Xamarin does not yet have support for the Android App Bundle format, but they are working on it. The tracking bug is here.




回答2:


Check the following steps to create a release mode apk in visual studio

1.Disable Debugging mode.

2.Uncheck shared runtime

3.Make sure Configuration mode is "Release".

4.Set linking to SDK And User Assemblies(which will reduce app size)



来源:https://stackoverflow.com/questions/56398847/upload-xamarin-application-on-google-play-alpha-unoptimized-apk

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!