您的位置:首页 > Web前端

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

2013-09-24 13:23 375 查看
打开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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息