您的位置:首页 > 大数据 > 人工智能

Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list-2.xml

2013-08-05 14:18 851 查看
Android SDK Manager SDK Manager.exe下载全部平台时更新包的时候出现无法下载的情况

Done loading packages.

Fetching https://dl-ssl.google.com/android/repository/addons_list-2.xml
Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list-2.xml, reason: Unknown Host dl-ssl.google.com

Fetched Add-ons List successfully

Fetching URL: https://dl-ssl.google.com/android/repository/repository-8.xml
Failed to fetch URL https://dl-ssl.google.com/android/repository/repository-8.xml, reason: IO Unknown Host dl-ssl.google.com

Fetching URL: https://dl-ssl.google.com/android/repository/addon.xml
Failed to fetch URL https://dl-ssl.google.com/android/repository/addon.xml, reason: IO Unknown Host dl-ssl.google.com

Fetching URL: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
Failed to fetch URL https://dl-ssl.google.com/android/repository/extras/intel/addon.xml, reason: IO Unknown Host dl-ssl.google.com

Fetching URL: https://dl-ssl.google.com/android/repository/sys-img.xml
Failed to fetch URL https://dl-ssl.google.com/android/repository/sys-img.xml, reason: IO Unknown Host dl-ssl.google.com

Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/mips/sys-img.xml
Failed to fetch URL https://dl-ssl.google.com/android/repository/sys-img/mips/sys-img.xml, reason: IO Unknown Host dl-ssl.google.com

Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/x86/sys-img.xml
Failed to fetch URL https://dl-ssl.google.com/android/repository/sys-img/x86/sys-img.xml, reason: IO Unknown Host dl-ssl.google.com

Done loading packages.



解决办法:
设置本地hosts
windows里hosts位置在C:\Windows\System32\drivers\etc,找到hosts文件
直接在hosts文件的最后加一行:

74.125.237.1 dl-ssl.google.com

重新打开SDK Manager.exe就可以下载了
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐