Now open this addon.xml and you will see it contains what package the repository has, remove all nodes, and then add a new node as below: Here is the solution.įirst, download a “template” repository xml file, from:, save it to your local machine, let’s say “ C:\test\addon.xml” We can create our own repository contains this package and let Visual Studio setup “think” he download the package and unzip it successfully.įirst things first, run Visual Studio 2015 setup and check the Android SDK you need and finished the installation, you will see error message at the end, but don’t panic. Since google repository doesn’t have this package anymore, we fake it. Now you know why Visual Studio 2015 setup partially failed and all the solution you googled doesn’t work, because people didn’t really found the root cause. The command line like this: “C:\Program Files (x86)\Android\android-sdk\tools\android.bat update sdk -u -a –filter addon-google_apis_x86-google-19”Īs you see, all google repositories don’t have this package anymore, so this error will cause Visual Studio 2015 setup error eventually.
#VISUAL STUDIO ANDROID SDK DOWNLOAD INSTALL#
When Visual Studio 2015 start to install this package, it already installed Android SDK Manager (C:\Program Files (x86)\Android\android-sdk\SDK Manager.exe) and launch a batch file to use “SDK Manager.exe” to download and install package you checked.
Actually google removed addon-google_apis_x86-google-19 package from its repository since some day around May 22, 2016.
It is not your problem, it is google’s problem. Please check your internet connection and try again. When install Visual Studio 2015, no matter which version or with update 1 or 2, if you check Android SDK Setup (API Level 19 and 21) you probably will get this error when installing finished: The following package(s) were not downloaded: addon-google_apis_x86-google-19.