I am using Xamarin with Visual Studio 2015. Recently I updated to sp3.
Now I want to publish my android app. From information elsewhere I understood that now this is supposed to be done by the function/option "Archive" available by right-clicking the project or under the option/menu "Build".
However this option is grayed out for me, just as the function/option "View Archives". This is the case for all my android projects.
I already tried out/made sure of the things mentioned in the second answer of the older similar question.
Publish Android App option in disabled in Xamarin using Visual studio 2015
3条答案
按热度按时间rmbxnbpk1#
我最终解决了这个问题,决定这是一个很好的时间来做一个完整的Windows 10刷新(因此做一个全新的Visual Studio 2015安装以及)。这解决了很多其他问题,我与我的电脑/Visual Studio以及。由于缺乏更好的,我会标记这是答案。
332nm8kg2#
I see you fixed your issue long ago but hope this will help anyone with the same problem.
Some info from Xamarin Forum, this fixed the issue for me. In SDK>Tools I had a couple of folders only.
SDK>Tools folder will be empty. Go to SDK > Temp folder. There will be a wrar named tools_. Copy this wrar somewhere else and extract it. Extracted folder will have the "Tools" folder. Replace this Tools folder with SDK>Tools folder and Archive/SDK Manager etc everything will be back.
https://forums.xamarin.com/discussion/85853/archive-option-is-disabled-in-visual-studio-2015
Then restart Visual Studio.
When you reinstalled Windows, you fixed the issue because you needed to reinstal Android SDK afterwards.
az31mfrm3#
我在项目上执行了一次“清理”,关闭了VS的所有示例并重新加载。然后该选项就可用了。在VS 2022上经历过这种情况。
抱歉,简短而甜蜜,但希望有用!