Reputation: 89
Archive option is not active in android project or in build menu is not active
Upvotes: 1
Views: 1590
Reputation: 298
Although this is an old issue, more people, like me, might be experiencing something similar now with VS 2022.
After the "Archive" button simply disappeared, the only solution was to go into the Android SDK Manager and install the SDK of the version prior to my project:
As strange as it may seem, this solved the problem, even though my project is on version 33:
Perhaps installing the SDK triggered some recovery process for the other SDKs, I'm not sure.
Upvotes: 0
Reputation: 2402
It seems VS installer deleted the "tools" folder under Android SDK folder. To check that go to Tools > Android and check if options here is available. If all options are gray go to Tools > Options > Xamarin > Open location from "Android SDK Location" input. From there go to tools folder. If there is nothing here you need to download it from https://dl.google.com/android/repository/tools_r25.2.3-windows.zip, and then copy the "tools" folder back to previously copied path tools folder. Now, all options are available again.
Upvotes: 1
Reputation: 141
Check the following:
Upvotes: 2