Slow SDK download through Android SDK manager

╄→гoц情女王★ 提交于 2019-12-02 17:22:31

I have not experienced this issue. Force or unforce HTTPS (there is an option for this under Settings), and see if this improves the quality of your connection.

StudioArena

I also have this problems and found a solution online and it looks like it working for now. I tried with forcing HTTP AND HTTPS and nothing really work.

So try this:

1.) Run command prompt as an administator - Windows 7 (Start->Right click on Command Prompt-> Choose "Run as Administrator") or "Start" enter CMD into search box and then right click and "Run as administrator".

2.) In Command Prompt window enter:

netsh

and press ENTER

3.) Then write this and hit ENTER at the end:

interface tcp set global autotuning=disabled

4.) Now restart your SDK manager and try to download again!


Before doing the above, Take note of your original value in case you want to revert back:

interface tcp show global

Try disabling antivirus and enabling Force https://... sources to be fetched using http://... in Android SDK Manager's Tools-> Options....

This helped me.

Unchecking the https box worked for me.

shridatt

Check those XML file links

Let me pen them down here...

Google Repository for SDK's Of all Android API

Google Repository for Add-on's (Google API's) for all Android API

Intel API's for Android

Google repository for system Images

MIPS repository for system images

Intel repository for system images

Now you will know what you must be looking out for....

Take an example of this snapshot

Say i want to download google API for Android API12

then Google Repository for Add-on's (Google API's) for all Android API Lookup for <sdk:url> tag under <sdk:addon> tag as given in the example below

and then use the link used to obtain the XML file

Strip off the last part and replace it with the <sdk:url> tag content

for eg: in this case it would be like

Google API for Android API 12 (HoneyComb)

there you have a download link....

Similarly SDK's ,System-images can be downloaded....

Dont have to wait for ages to complete that list ;) for you download to get accelerated use DAP or IDM ( download accelerators )

Enjoy! :)

You can manually download and install Android SDK Component.

Method:

STEP 1- Go to android SDK installation folder("C:\Users\%username%\Appdata\Local\Android\android-SDK" or any other location you choose during installation) then open android SDK manager

STEP 2- Check the Component you want to download

STEP 3- Then click on install 1 package

STEP 4- Click on stop button

STEP 5- Navigate to android SDK installation folder then go to temp ("C:\Users\%username%\AppData\Local\Android\android-sdk\temp") folder here you will see two files are created copy the name of the set up information file

STEP 6- goto web browser and type url https://dl.google.com/android/repository/(file name you copied) in my case https://dl.google.com/android/repository/android-23_r01.zip

STEP 7 - A file will be downloaded automatically

STEP 8- After download is finished go to "C:\Users\%username%\Appdata\Local\Android\android-sdk\temp" and delete the two files created there and paste the downloaded file there

STEP 9- Now go to android SDK manager and check the component again and click on install 1 package

STEP 10- The package will be installed automatically

After working on this for weeks and trying all the above plus other suggestions around the web, I came up with the following solution:

1) Remove PC Tools Firewall Plus

2) Remove AVG free antivirus

3) Install Comodo Internet Security Free.

The files are downloading and installing fine now. I'm also using HTTP mode as suggested. If you have any of the above security tools I recommend giving this a try. BTW, turning off PC Tools will not be enough.

None of the other solutions listed here resolved the issue for me, not even uninstalling Android Studio/SDK and then reinstalling them. It's worth noting that the standalone SDK Manager has also been deprecated since a lot of these answers were posted.

After hours of troubleshooting, I managed to resolve the issue by renaming my Android Studio config folder (~/.AndroidStudio2.3) to something else and making Android Studio create it again. You can ask Android Studio to import your old config and it still works, so it's likely something to do with the system folder.

Hope this helps anyone else that is having this issue but was unable to find a solution like myself.

I had the same problem plus google don't allow me to access andriod, and I must connect with a VPN. so I download all xmls and package that I need to my localhost and set dl-ssl.google.com too 127.0.0.1 and then I install them from my local with extra speed :D

I also have this problems and found a solution online and it looks like it working for now. I tried with forcing HTTP AND HTTPS and nothing really work.

So try this:

1.) Run command prompt as an administator - Windows 7 (Start->Right click on Command Prompt-> Choose "Run as Administrator") or "Start" enter CMD into search box and then right click and "Run as administrator".

2.) In Command Prompt window enter (everything without quotes): 'netsh' and press ENTER

3.) Then write this and hit ENTER at the end: interface tcp set global autotuning=disabled

4.) Now restart your SDK manager and try to download again!

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!