Slow SDK download through Android SDK manager

2020-05-16 13:04发布

When I run Android SDK manager to download SDK platform, the download speed is 8 KiB/s. It would take more than 2 hours to download one platform like Android 2.2, API 8. There is no problem with download stuff through browser. Does anyone know how to fix this problem?

10条回答
我欲成王,谁敢阻挡
2楼-- · 2020-05-16 13:34

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!

查看更多
家丑人穷心不美
3楼-- · 2020-05-16 13:42

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

查看更多
等我变得足够好
4楼-- · 2020-05-16 13:49

Unchecking the https box worked for me.

查看更多
男人必须洒脱
5楼-- · 2020-05-16 13:51

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.

查看更多
聊天终结者
6楼-- · 2020-05-16 13:52

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
查看更多
Evening l夕情丶
7楼-- · 2020-05-16 13:52

Check those XML file links 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 snapshotSay i want to download google API for Android API12

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

Look up for the sdk:url tag

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! :)

查看更多
登录 后发表回答