Forum General

Announcement:

The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

Xamarin Android Device Manager - Stuck in Loading Screen - (407) Proxy Authentication Required.

nirubhainirubhai Member

Hi,

I have tried opening Android Device Manager by going to "Visual Studio 2017 Enterprise" >> "Tools" >> "Android" >> "Android Device Manager".
But its getting stuck in the loading screen and then shows a error message as "Android SDK instance could not be loaded. Please check the internet connection or a file a Bug Report".

I have checked the log at "C:\Users\\AppData\Roaming\XamarinDeviceManager" and the log is as below:
NOTE: I am behind a corporate proxy and I have proxy setup in IE. I don't see any option to set the Proxy in Android Device Manager.

[18-05-23 04:51:09.75] AndroidDevices version 1.0.555.38 (1.0.555.38+e4614918b41a3cfed0418a16a9f668c7e57660db)
[18-05-23 04:51:09.76] Operating system: Windows 7 v6.1.7601 (Enterprise (Service Pack 1); Microsoft Windows 7 v6.1.7601 (Enterprise; Service Pack 1; 64-bit)), 64-bit
[18-05-23 04:51:10.38] [ConfigManager] Config file path: C:$HOME\AppData\Local\Xamarin\AndroidDevices.exe_Url_or0odoxxb2oaxzqe45fzoajt10ilq3yl\1.0.555.38\user.config
[18-05-23 04:51:10.60] --- Device Manager started
[18-05-23 04:51:11.90] [ASDKErrorLogger.BeginStep]: Updating SDK component information…
[18-05-23 04:51:11.90] No Android SDK instance matching the 'C:\Program Files (x86)\Android\android-sdk' path
[18-05-23 04:51:26.87] [ASDKErrorLogger.ReportError]: Loading SDK component information failed. Please retry.
System.Net.WebException: The remote server returned an error: (407) Proxy Authentication Required.
   at System.Net.HttpWebRequest.GetResponse()
   at Xamarin.Installer.AndroidSDK.Manager.Helper.DownloadToString(Uri url, String& output)
   at Xamarin.Installer.AndroidSDK.Xamarin.XamarinRepository.ParseInternal()
   at Xamarin.Installer.AndroidSDK.Xamarin.XamarinRepository.Parse()
   at Xamarin.Installer.AndroidSDK.AndroidSDKInstaller.Discover(List`1 sdkLocations, Boolean fromScratch, EventHandler`1 instanceComponentStatusChangeHandler)
   at Xamarin.Installer.AndroidSDK.Manager.AndroidSDKManager.<>c__DisplayClass42_0.<Load>b__0(Task`1 t)
[18-05-23 04:51:26.87] System.Net.WebException: The remote server returned an error: (407) Proxy Authentication Required.
   at System.Net.HttpWebRequest.GetResponse()
   at Xamarin.Installer.AndroidSDK.Manager.Helper.DownloadToString(Uri url, String& output)
   at Xamarin.Installer.AndroidSDK.Xamarin.XamarinRepository.ParseInternal()
   at Xamarin.Installer.AndroidSDK.Xamarin.XamarinRepository.Parse()
   at Xamarin.Installer.AndroidSDK.AndroidSDKInstaller.Discover(List`1 sdkLocations, Boolean fromScratch, EventHandler`1 instanceComponentStatusChangeHandler)
   at Xamarin.Installer.AndroidSDK.Manager.AndroidSDKManager.<>c__DisplayClass42_0.<Load>b__0(Task`1 t)
[18-05-23 04:51:26.87] Discovery failed: 
[18-05-23 04:51:26.90] [ASDKErrorLogger.EndStep]
[18-05-23 04:51:26.90] Error : Android SDK instance could not be loaded. Please check your internet connection or file a [Bug Report].

Answers

Sign In or Register to comment.