Publish disabled Android App option in Xamarin using Visual studio 2015

When I try to publish my Android application in Visual Studio 2015, the option is disabled: Tools-> Android-> Publish Android application, so I can not sign my application and publish it. What could be the reason?

+5
source share
3 answers

go to the properties of your project and uncheck the "Use a shared working environment" then ctrl+shift +B

+9
source

3 possible reasons:

1- Your Solution Configuration is on Debugging , and you must select Release for deployment.

2- Uncheck the Use total due date box. When this is selected, and you are in release mode, and the export option will not be available at all.

Use shared runtime must disable

3- You have deployed the previuos version and have not yet modified the Android Manifiest file. To change the Droid project, open the properties and go to the Android Manifiest tab:

Version Number and Version Name .

Android manifestiest

The same values ​​of the previous deployment?

Try changing these values.

Xamarin seems to disable this option until you change it to the new values.

+8
source

Another possible reason is from the Xamarin Forum (this fixed the problem for me). In the Android SDK> Tools, I only had a few folders.

Folder

SDK> Tools will be empty. Go to the SDK> Temp folder. There will be a hero named tools_. Copy this rar to another location and extract it. The extracted folder will have a Tools folder. Replace this tool folder with SDK> Tool folder and Archive / SDK Manager, etc. everything will return.

https://forums.xamarin.com/discussion/85853/archive-option-is-disabled-in-visual-studio-2015

Then restart Visual Studio.

+1
source

All Articles