Bug 58319 - Xamarin Android SDK Manager doesn't save locations
Summary: Xamarin Android SDK Manager doesn't save locations
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Android SDK Manager ()
Version: 4.6.0 (15.3)
Hardware: PC Windows
: --- normal
Target Milestone: 15.4
Assignee: Vsevolod Kukol
Depends on:
Reported: 2017-07-23 08:41 UTC by bkefici70q1onfb
Modified: 2017-08-14 12:49 UTC (History)
3 users (show)

Tags: ac
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 bkefici70q1onfb 2017-07-23 08:41:51 UTC
Xamarin Android SDK Manager (master+1c4ba1d)

Please refer to the following post for details and screenshots: https://stackoverflow.com/questions/45239710/xamarin-android-sdk-manager-doesnt-save-locations#comment77482834_45239710
Comment 1 Prashant [MSFT] 2017-07-24 12:46:36 UTC
Stackoverflow post - 

Using Visual Studio 2017 and Xamarin, I installed the [**Xamarin Android SDK Manager**][1] to replace the default Android SDK Manager, which is now deprecated.

Then I updated JDK to the current x64 version and, using the Xamarin SDK Manager, I installed the most recent version of Android NDK.

I now want to update the locations of these SDK's in the Xamarin Android SDK Manager, Locations tab like so:

[![Updating locations of SDKs][2]][2]

Yet, every time I restart the tool, the locations are **reset**. It also keeps telling me there's *2 components to install*, yet when I do, it doesn't complain about any failure. 

[![Locations are reset][3]][3]

I have tried running as Admin and cannot seem to figure out what is wrong. Log files seem to be non existent. Is there anyone who has the same problem and found a solution?

  [1]: https://marketplace.visualstudio.com/items?itemName=Xamarin.XamarinAndroidSDKManager
  [2]: https://i.stack.imgur.com/z7JcU.png
  [3]: https://i.stack.imgur.com/MUCaP.png

I am able to reproduce this issue on VS 2017 v15.3 preview4, full version info

Microsoft Visual Studio Enterprise 2017 Preview
Version 15.3.0 Preview 4.0
Microsoft .NET Framework
Version 4.7.02046

Installed Version: Enterprise

Visual Basic 2017   00369-60000-00001-AA758
Microsoft Visual Basic 2017

Visual C# 2017   00369-60000-00001-AA758
Microsoft Visual C# 2017

Visual F# 4.1   00369-60000-00001-AA758
Microsoft Visual F# 4.1

Application Insights Tools for Visual Studio Package   8.8.00629.1
Application Insights Tools for Visual Studio

ASP.NET and Web Tools 2017   15.0.30629.0
ASP.NET and Web Tools 2017

ASP.NET Core Razor Language Services   1.0
Provides languages services for ASP.NET Core Razor.

ASP.NET Template Engine 2017   15.0.30629.0
ASP.NET Template Engine 2017

Common Azure Tools   1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

JavaScript Language Service   2.0
JavaScript Language Service

JavaScript Project System   2.0
JavaScript Project System

JavaScript UWP Project System   2.0
JavaScript UWP Project System

Merq   1.1.17-rc (cba4571)
Command Bus, Event Stream and Async Manager for Visual Studio extensions.

Microsoft Visual Studio VC Package   1.0
Microsoft Visual Studio VC Package

Mono Debugging for Visual Studio   4.6.8-pre (ec7034f)
Support for debugging Mono processes with Visual Studio.

NuGet Package Manager   4.3.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

TypeScript tools for Visual Studio

Visual Studio Code Debug Adapter Host Package   1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio

Visual Studio Tools for Universal Windows Apps   15.0.26711.01
The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.

Xamarin (9b1a9b2)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android SDK (a93c6f4)
Xamarin.Android Reference Assemblies and MSBuild support.

Xamarin.iOS and Xamarin.Mac SDK (bf350ba)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.
Comment 2 Vsevolod Kukol 2017-08-08 14:44:48 UTC
This is now fixed in 0.1.76 (published today).