安卓SDK更新问题:Download interrupted: Connection to https://dl-ssl.google.com refused
2014-06-11 19:13
871 查看
以前的方法好像不管用了,
更新一下2015年的新方法:
http://blog.csdn.net/zwj540469505/article/details/12911315
或者mirrors.neusoft.edu.cn
80
2014年老方法(已淘汰):
SDK更新问题:Download interrupted: Connection to https://dl-ssl.google.com refused
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无法下载更新。
后来,网上找到了问题的原因。这个可能是网络问题,国内连google服务器经常连不上。
解决办法是:将https://修改为http://
修改方法是:如下图,在Android SDK Manager->Tools-Options...选项界面,
将“Force https://… sources to be fetched using http://…”勾选!
并在文件(C:\Windows\System32\drivers\etc\hosts)中,打开文件后添加如下几行:
203.208.46.146 www.google.com
203.208.46.146 dl.google.com
203.208.46.146 dl-ssl.google.com
我是用记事本打开这个hosts文件的。
(2015年时用203.208.46.146已经不行了,网上试了其他滴也没找到ok滴,,,囧,,,)
网友everfountain提醒,如果是mac下的 sdk manager tools菜单下没有options选项,要command+, 才能调出那个界面。
还有人建议可以用Go-Agent也可以的,代理服务器:127.0.0.1,端口:8087,因为这个由是博客《杭州山不高》提供的方法很管用,非常有效所以这个方法我没有尝试。感兴趣的亲,也可以试试用Go-Agent找代理哦.
参考资料1:http://blog.csdn.net/gaojinshan/article/details/9871607
参考资料2:http://blog.163.com/sdzhangyuyin@126/blog/static/13841374820141258199428/
更新一下2015年的新方法:
http://blog.csdn.net/zwj540469505/article/details/12911315
或者mirrors.neusoft.edu.cn
80
2014年老方法(已淘汰):
SDK更新问题:Download interrupted: Connection to https://dl-ssl.google.com refused
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无法下载更新。
后来,网上找到了问题的原因。这个可能是网络问题,国内连google服务器经常连不上。
解决办法是:将https://修改为http://
修改方法是:如下图,在Android SDK Manager->Tools-Options...选项界面,
将“Force https://… sources to be fetched using http://…”勾选!
并在文件(C:\Windows\System32\drivers\etc\hosts)中,打开文件后添加如下几行:
203.208.46.146 www.google.com
203.208.46.146 dl.google.com
203.208.46.146 dl-ssl.google.com
我是用记事本打开这个hosts文件的。
(2015年时用203.208.46.146已经不行了,网上试了其他滴也没找到ok滴,,,囧,,,)
网友everfountain提醒,如果是mac下的 sdk manager tools菜单下没有options选项,要command+, 才能调出那个界面。
还有人建议可以用Go-Agent也可以的,代理服务器:127.0.0.1,端口:8087,因为这个由是博客《杭州山不高》提供的方法很管用,非常有效所以这个方法我没有尝试。感兴趣的亲,也可以试试用Go-Agent找代理哦.
参考资料1:http://blog.csdn.net/gaojinshan/article/details/9871607
参考资料2:http://blog.163.com/sdzhangyuyin@126/blog/static/13841374820141258199428/
相关文章推荐
- Android环境SDK Manager无法更新问题Connection to https://dl-ssl.google.com refused
- Android环境SDK Manager无法更新问题Connection to https://dl-ssl.google.com refused
- (转)Download interrupted: Connection to https://dl-ssl.google.com refused
- Download interrupted: Connection to https://dl-ssl.google.com refused
- 解决Android SDK下载和更新失败"Connection to https://dl-ssl.google.com refused"的问题
- Download interrupted: Connection to https://dl-ssl.google.com refused
- Android问题】解决 Android SDK下载和更新失败“Connection to https://dl-ssl.google.com refused...
- Android SDK Manager 更新代理配置--亲自试过,有效,找了好多就这个有效-Connection to https://dl-ssl.google.com refused
- [Android开发常见问题-18] Connection to https://dl-ssl.google.com refused
- [Android开发常见问题-18] Connection to https://dl-ssl.google.com refused
- 解决 Android SDK下载和更新失败“Connection to https://dl-ssl.google.com refused."
- 下载Android源代码时提示Connection to https://dl-ssl.google.com refused问题解决
- Android SDK 更新时出现“Download interrupted: Connection to https://dl-ssl.google.com refused”的解决方案