There is no export android package file in Xamarin

2019-01-12 08:09发布

问题:

After update Xamarin in Visual Studio to 4.2 version, there is no "Export Android Package" option, instead of it there is "Archive" option, and when I use archive to create package it just create an unsigned package.Where is "Export Android Package" in new version???

回答1:

This functionality has been replaced with the new "Archive" functionality.

https://developer.xamarin.com/releases/vs/xamarin.vs_4/xamarin.vs_4.2/#publishing

This now closely mimics the current behavior in Xamarin Studio.

Once you sign the .apk you will be prompted to save the .apk to place of your choosing:

https://developer.xamarin.com/guides/android/deployment,_testing,_and_metrics/publishing_an_application/part_2_-_signing_the_android_application_package/#_Sign_the_APK_

You will then be able to view previous archives.

Documentation: https://developer.xamarin.com/guides/android/deployment,_testing,_and_metrics/publishing_an_application/part_2_-_signing_the_android_application_package/