Visual Studio 2015 does not install Android SDK for Xamarin

I am moving on to Xamarin for developing cross-platform applications. I already had VS2015 installed, I downloaded the Xamarin tools (vstoolsforxamarin.exe) from my site, and when I install them after a long wait, VS says that “the installation completed with errors” and does not download or install the Android SDK for API 19 , 20, 23, He always says, “Please check your Internet connection and try again,” and I'm sure my Internet connection is not broken during this whole process. I tried this 3 times now, tried to uninstall VS2015, installing it again, but got the same error. What is the problem causing this? I already have Android Studio installed with its SDK manager. Any help would be appreciated to get Xamarin to work in VS2015.

Edit:

Solution: I already had Android Studio and its SDK in my system by selecting Tools> Options> Xamarin, and giving the path for the Android SDK solved my problem.

+8
android visual-studio-2015
source share
6 answers

Visual Studio installs the SDK @C: \ Program Files (x86) \ Android \ android-sdk Go to this folder and open the SDK Manager in administrator mode and install if new updates are required. And in the event that Visual Studio could not install the SDK, do it manually and change the path for the SDK using Tools> Options> Xamarin to the SDK location.

+5
source share

I had the same problem and it was related to the proxy.

BEFORE installing Visual Studio, create a file in this place:

% USERPROFILE% .android \ androidtool.cfg

In the androidtool.cfg file you created, put the following contents. Be sure to update "http.proxyPort" and "http.proxyHost" in the file!

### Settings for Android Tool #Fri Jan 08 02:53:27 UTC 2016 http.proxyPort=8888 sdkman.enable.previews=false http.proxyHost=127.0.0.1 sdkman.ask.adb.restart=false sdkman.show.update.only=true sdkman.force.http=false sdkman.use.dl.cache=true 

Visual Studio installation usually

Source: https://blogs.msdn.microsoft.com/peterhauge/2016/09/22/visual-studio-2015-install-failures-android-sdk-setup-behind-a-proxy/

+1
source share

I have the same problem, but it still solved. Because there is something that will be installed when you select the Android SDK to install during the installation of VS 2015. My Xamarin lacked something to run, even the Android SDK Manager installed the Android SDK for several versions.

0
source share

I had this problem and it turned out that it was because I did not have enough disk space. I did not find this until I manually launched the SDK Manager.exe, set the proxy server settings and tried to load several SDKs.

0
source share

I had to disable my security software (Avast) as it viewed it as a potential threat and isolated it (Android SDK). After that, the software is installed flawlessly

0
source share

make sure jdk is installed

0
source share

All Articles