开发者

Android SDK and AVD Manager, Stalls and/or never finishes

开发者 https://www.devze.com 2022-12-18 20:44 出处:网络
Recorded for posterity. I saw only a few posts around the net and all suggest to use HTTP instead of HTTPS and there were several ways to do t开发者_StackOverflowhis.None of them discussed Windows on

Recorded for posterity.

I saw only a few posts around the net and all suggest to use HTTP instead of HTTPS and there were several ways to do t开发者_StackOverflowhis. None of them discussed Windows only Linux. Well this did not work for me and I could not find any way to get the files downloaded to my Windows Vista 64 machine.

So after much work I manually downloaded them and got them to work. I did this by putting it on a machine that did work and reading the repository.xml file and downloading them.

https://dl-ssl.google.com/android/repository/google-apis-4_r02.zip

Unzipped it and moved the top directory into

android-sdk-windows/add-ons

and

https://dl-ssl.google.com/android/repository/android-1.6_r02-windows.zip

I then extracted them and renamed the top directory android-1.6 (it is at least one level below the unzipped directory) and moved it to

the platforms directory

Then rebooted my machine and it seems to work.

Hope this helps someone.

Julian


you need to disable auto tuning on your network adapter. i was going crazy trying to figure this out.

run this in an administrator command prompt (right click command prompt from the start menu, run as administrator)

netsh interface tcp set global autotuning=disabled

restart avd manager


On Mac OS X, the corresponding command for turning off auto tuning is:

sudo sysctl -w net.inet.tcp.rfc1323=0

This fixed the issue for me.

Source: Handling TCP Window Scaling

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号