Bug 36492 - Android designer doesn't launch SDK Manager correctly on Windows
Summary: Android designer doesn't launch SDK Manager correctly on Windows
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Android Designer ()
Version: unspecified
Hardware: PC Windows
: Normal normal
Target Milestone: 4.1.0 (C7)
Assignee: Bugzilla
Depends on:
Reported: 2015-12-02 22:37 UTC by Mikayla Hutchinson [MSFT]
Modified: 2016-02-12 16:19 UTC (History)
6 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 Mikayla Hutchinson [MSFT] 2015-12-02 22:37:16 UTC
When clicking on the "your sdk is too old" message in the designer, the designer launches the SDK manager. However, it opens it via ShellExecute, so opens a command prompt. It also doesn't handle UAC elevation when the SDK manager needs it.

Both XS and VS handle this correctly, the designer should delegate to them.
Comment 1 Sadik Ali 2016-01-08 09:31:45 UTC
I have followed the steps mentioned in above description. SDK Manager Window open after clicking on Open Android SDK link from designer but I am not sure how to check UAC elevation. Could you please let me know how to see this thing? This is the 
Screencast: http://www.screencast.com/t/Xn6mtd8XL for the same which I have followed.


Environment info:
Microsoft Visual Studio Professional 2013
Version 12.0.21005.1 REL
Microsoft .NET Framework
Version 4.6.01055

Installed Version: Professional

Team Explorer for Visual Studio 2013   06177-004-0446016-02690
Microsoft Team Explorer for Visual Studio 2013

Visual Basic 2013   06177-004-0446016-02690
Microsoft Visual Basic 2013

Visual C# 2013   06177-004-0446016-02690
Microsoft Visual C# 2013

Visual C++ 2013   06177-004-0446016-02690
Microsoft Visual C++ 2013

Visual F# 2013   06177-004-0446016-02690
Microsoft Visual F# 2013

Visual Studio 2013 Code Analysis Spell Checker   06177-004-0446016-02690
Microsoft® Visual Studio® 2013 Code Analysis Spell Checker

Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.

The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.

Common Azure Tools   1.0
Provides common services for use by Azure Mobile Services and Windows Azure Tools.

Microsoft Advertising SDK for Windows Phone   
Microsoft Advertising SDK for Windows Phone

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

PreEmptive Analytics Visualizer   1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

SQL Server Data Tools   12.0.30919.1
Microsoft SQL Server Data Tools

Windows Azure Mobile Services Tools   1.0
Windows Azure Mobile Services Tools

Windows Phone 8.1 SDK Integration   1.0
This package integrates the tools for the Windows Phone 8.1 SDK into the menus and controls of Visual Studio.

Xamarin (21aad62)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android (50280e4)
Visual Studio plugin to enable development for Xamarin.Android.

Xamarin.iOS (122b860)
Visual Studio extension to enable development for Xamarin.iOS.
Comment 2 Mikayla Hutchinson [MSFT] 2016-01-11 19:00:02 UTC
This on;y occurs if the Android SDK is installed in a location which needs admin permissions to modify, e.g. Program Files.

IIRC this happens if the Android SDK is installed by Visual Studio or Android Studio.
Comment 3 xamarin-release-manager 2016-02-12 16:19:16 UTC
Fixed in version (master)

Author: J??r??mie Laval
Commit: fef2c3f121eda12d299fd5d035ff35f98a6a0824 (xamarin/md-addins)
Included in Commit: 50696a9f00b324e48362743f8e2b463c16e365c7 (xamarin/XamarinVS)