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
2015-01-18 09:28:50| 分类: Android 开发每日|举报|字号 订阅
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://...
设置好了之后瞬间特别快~
点击“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
每一个不曾起舞的日子,都是对生命的辜负。
But it is the same with man as with the tree. The more he seeks to rise into the height and light, the more vigorously do his roots struggle earthward, downward, into the dark, the deep - into evil.
其实人跟树是一样的,越是向往高处的阳光,它的根就越要伸向黑暗的地底。----尼采



浙公网安备 33010602011771号