解决更新SDK出现的Failed to fetch URL

打开SDK Manager出现

Fetching http://dl-ssl.google.com/android/repository/addons_list-1.xml
Failed to fetch URL http://dl-ssl.google.com/android/repository/addons_list-1.xml, reason: Connection to http://dl-ssl.google.com/ refused
Fetched Add-ons List successfully
Fetching URL: http://dl-ssl.google.com/android/repository/repository-6.xml
Failed to fetch URL http://dl-ssl.google.com/android/repository/repository-6.xml, reason: Connection to http://dl-ssl.google.com/ refused
Done loading packages.

 

解决办法

在C:\WINDOWS\system32\drivers\etc的HOST文件最后加上
74.125.237.1 dl-ssl.google.com

 

附加SDK20.0.3和ADT20.0.3下载地址

下载sdk
http://dl.google.com/android/android-sdk_r20.0.3-windows.zip
下载adt
http://dl.google.com/android/ADT-20.0.3.zip


版权声明:本文为typhoonhuan原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。