Visual Studio 2015 install failures (Android SDK Setup) behind a Proxy
This post has been moved to a new site. Please update your links to this location instead:
https://hauge.cloud/2016/09/22/visual-studio-2015-install-failures-android-sdk-setup-behind-a-proxy/
Comments
- Anonymous
October 06, 2016
Thank you, worked perfectly for me.- Anonymous
October 07, 2016
Great, thanks for the feedback!
- Anonymous
- Anonymous
October 27, 2016
I'm getting this same problem, but I'm not sure how to proceed with your solution. My Internet Options / LAN Settings are set to "Automatically detect settings", i.e., I'm not behind a firewall in the way you suggest (although I do have Norton Internet Security). How do I find what values to put in the file for the Port and Host? I have a couple of other machines with the same setup and they were okay. Any help would be appreciated.- Anonymous
October 27, 2016
Hi Graham - it sounds like you're hitting another issue if you are not behind a firewall or proxy. Could you send me email directly and we can see if I can help? My email is p h a u g e @ m i c r o s o f t dot c o m . Otherwise the Visual Studio setup forum is typically the best place for Visual Studio setup help: https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vssetup. Thanks!
- Anonymous
- Anonymous
December 11, 2016
The comment has been removed- Anonymous
December 11, 2016
The comment has been removed- Anonymous
December 25, 2016
but what is the correct port, how can i find out? and the host?- Anonymous
December 25, 2016
Hi Leon - are you installing Visual Studio in a network with a proxy server (like an enterprise corporate environment for example)? If so you should contact whoever is responsible for the network for this information. The Proxy host + port are details specific to your network configuration and not standard, so it's not something I can provide. Let me know how it goes!
- Anonymous
- Anonymous
- Anonymous
- Anonymous
January 13, 2017
What if the proxy server requires credentials. I'm assuming I need some additional parameters to specify a user ID and password?- Anonymous
January 16, 2017
The comment has been removed- Anonymous
January 26, 2017
Hi Chris and Peter,I ran into the same issues as Chris, but for me the solution of Peter did not help.Chris, did it work for you? Are there any other suggestions for this issue?Thanks in advance!- Anonymous
January 26, 2017
The comment has been removed- Anonymous
January 27, 2017
Yes, my machine is within a domain.I tried all your suggestions but still no success. I'm now checking with our IT if our proxy is the issue.If anybody has any further ideas, I would be happy. - Anonymous
January 27, 2017
I can think of one other option, which is handle the authenticated part of the proxy connection separately. IE: use http://www.squid-cache.org/ and connect to your corporate proxy server (supports NTLM auth) and then point the android SDK config file above to the local proxy. I also looked at fiddler but it doesn't natively support an authenticated proxy... Feel free to reach out to me directly to discuss more! My email is p e t e r (dot) h a u g e (at) m i c r o s o f t (dot) c o m
- Anonymous
- Anonymous
- Anonymous
- Anonymous
- Anonymous
January 30, 2017
I'm facing the same issue in Visual Studio. Could you give me a workaround if Visual Studio is already installed in my PC or Do i need to uninstall Visual Studio and redo the installations again?Thanks in Advance- Anonymous
January 30, 2017
Hi Maria - no worries, Visual Studio has a good 'repair' mechanism. You should implement the steps above to setup the proxy, then go to Add/Remove Programs, find "Microsoft Visual Studio Enterprise 2015 With Updates", right click and choose "Change". When the dialog comes up, you can click "Repair" at the bottom to start the process. This will reapply the packages to the machine using the settings you picked when you first installed the product... Thanks!- Anonymous
November 05, 2017
Peter, when I install vs2015 first time my vs2013 and all extensions of it was removed. If I start of repairing vs2015 now, it will remove older versions of Studio?- Anonymous
November 05, 2017
Hi Alex - the design of the Visual Studio 2015 installer is that it installs completely standalone compared to prior versions. I have VS2013, VS2015, and VS2017 all running on my laptop side by side. If you changed the install directory during install to go to the same directory as VS2013 that may cause a conflict, but otherwise it should be standalone.- Anonymous
November 06, 2017
Yes I tried to repair vs2015 today and this didn't affect on vs2013, but my problem with Android SDK doesn't solved. After all my tries to install SDK on vs2015 I decided install this manually from SDK manager. I installed 19-21 levels and extra levels 22-27. Despite on it I can't install level 19-21 from Control pannel still and it doesn't appear as installed in install menu (Levels 22-23 marked blue dits, but 19-21 doesn't). After repairing I try to build "Native-Activity Application" but I get error which described here stack overflow dot com/questions/38170501/error-creating-a-new-native-application-android-in-visual-studioI could solve that but I don't have "Tools->Android->Android SDK Manager" menu. My Android menu is a simple "Logcat". Path to SDK and JDK I set in "Cross Pltform->C++->Android". - Anonymous
November 09, 2017
I see - sorry to hear of the difficulty! If you installed the Android SDK manager outside of Visual Studio, please make sure that you configure Visual Studio to point to the right paths. There's more information here: https://docs.elementscompiler.com/VisualStudio/Setup/AndroidSDK/ . Also - when you search on the start menu, it should be called "SDK Manager" where you can add new API versions. Hope that helps!
- Anonymous
- Anonymous
- Anonymous
- Anonymous
- Anonymous
February 15, 2017
Hi! I'm having the same issue. I'm using a dongle to connect to internet.How can I change Port and host ?Thank you very much- Anonymous
February 15, 2017
The comment has been removed
- Anonymous
- Anonymous
February 26, 2017
Hi Peter!Thank you for sharing this information!Best regards,Ralph - Anonymous
June 28, 2017
Hi,There is no folder like %MyName%.android. Where i have to create androidtool.cfg. Please Help me.Eiasir Arafat.- Anonymous
June 29, 2017
If the folder doesn't already exist, please create it and add the .android.cfg file in. The Android SDK install will find it as long as it's in the right place, %USERPROFILE%.android\androidtool.cfg . Thanks!
- Anonymous
- Anonymous
August 29, 2017