Bug 42107 - VS breaks in an irrecoverable way if the android sdk is missing/corrupt
Summary: VS breaks in an irrecoverable way if the android sdk is missing/corrupt
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Android ()
Version: unspecified
Hardware: PC Mac OS
: Highest critical
Target Milestone: 4.1.3 (C7SR2)
Assignee: Juan Marcelo Tondato
Depends on:
Reported: 2016-06-23 12:09 UTC by Alan McGovern
Modified: 2016-08-02 19:49 UTC (History)
3 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Alan McGovern 2016-06-23 12:09:27 UTC
There are three things in this gist.

1) The data in the `Output` pane from the VS instance where i was debugging
2) The output from the log file VS generates when it can't load stuff
3) A screenshot of the options window


If something has gone wrong and the android SDK is missing or corrupt then the android addin breaks so badly you can't even fix the problem. The `Xamarin` section of the VS preferences can't even load up anymore which means we can't even change the SDK to a valid path.

Also all of the menu items in `Tools -> Android` are non-functional and do nothing when clicked. I was trying to upgrade/reinstall my sdks but i couldn't do it that way.
Comment 1 xamarin-release-manager 2016-08-02 19:14:11 UTC
Fixed in version (cycle7)

Author: jmt
Commit: 6ace267af6fd1c34518774eeed4b7af9474be9d0 (xamarin/XamarinVS)
Comment 2 xamarin-release-manager 2016-08-02 19:49:06 UTC
Fixed in version (cycle8)

Author: jmt
Commit: 85037197fc1c63061506e70ab71b0862f651005f (xamarin/XamarinVS)