Is Xamarin Studio supposed to generate an APK when compiling for debug target?

大憨熊 提交于 2019-12-05 19:37:20

问题


I don't want to build a release APK. I simply compile my xamarin app, with the Debug target selected, and then I look in my /bin/Debug/ folder and I only see .dll, .dll.mdb, .pdb files, but no .apk file.


回答1:


To get the .apk set the build to Release mode and go to Project->Create Android Package




回答2:


In Xamarin version 6.3:

  1. Set your project configuration to "Release".
  2. Right click on your project -> Archive for Publishing.

Source:https://developer.xamarin.com/Guides/Android/Deployment,_Testing,_and_Metrics/publishing_an_application/Part_1_-_Preparing_an_Application_for_Release/#Archive_for_Publishing



来源:https://stackoverflow.com/questions/19195004/is-xamarin-studio-supposed-to-generate-an-apk-when-compiling-for-debug-target

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