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


Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list-2.xml, reason: Connect - 千里马 - 众里寻他千百度,深中成就满分路

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

解决办法:更新sdk,遇到 Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list-2.xml, reason:.....

在网上找的资料

「HTTP Proxy Server」:mirrors.neusoft.edu.cn

「HTTP Proxy Port」   :80

选中Foce https://...sources to be fetched using https://...

  设置好了之后瞬间特别快~

Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list-2.xml, reason: Connect - 千里马 - 众里寻他千百度,深中成就满分路

点击“SDK Manager” - "Tools" - "Options", 设置见下图、

把上边的代理服务器改为mirrors.neusoft.edu.cn非常迅速下载成功

这样设置后应该就可以了。


如果以上的方法还不能成功的话,使用以下终极方法,指定Host:

74.125.237.1 dl-ssl.google.com 

具体操作方式:
点击桌面左下角开始菜单中的搜索,把以下路径,c:\windows\system32\drivers\etc,复制到搜索窗口中 ,找到host文件,其实是一个纯文本的文件,
1、用记事本打开
2、将:74.125.237.1 dl-ssl.google.com  添加至最后一行
3、保存关闭Host 


使用http协议而不是https协议,因为https协议进行了加密处理,大陆因为无法审查,直接封死,而http协议则进行过滤处理,如果不访问乱七八糟的东西,更新个SDK还是没问题的。
在SDK Manager下Tools->Options打开了SDK Manager的Settings,选中“Force https://… sources to be fetched using http://…”,强制使用http协议。
而在更新ADT插件的时候则使用网址http://dl-ssl.google.com/android/eclipse,而不是https://dl-ssl.google.com/android/eclipse

千里马推荐阅读:
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值