【Android Studio】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://...

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

点击“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

原文地址:http://cristalspring.blog.163.com/blog/static/144327425201501892850941/

时间: 2024-08-02 02:48:04

【Android Studio】Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list-2.xml, reason: Connect的相关文章

关于android SDK安装Failed to fetch URL 一点思考

最近SDK出问题了,然后在google下载了一个android-sdk-windows.rar,然后点击SDK Manager,结果一直不能刷新API Level,然后就开始在网上找了好多资料,解决这个问题,修改 HOSTS,    HTTP  和  HTTPS  都不能解决,这给我带来了很大的困惑!   加载不出来的界面错误为: Fetching http://dl-ssl.google.com/android/repository/addons_list-1.xml Failed to fe

Failed to fetch URl https://dl-ssl.google.com/android/repository/addo Android SDK更新以及ADT更新出现问题的解决办法

Failed to fetch URl https://dl-ssl.google.com/android/repository/addo Android SDK更新以及ADT更新出现问题的解决办法

关于android SDK安装Failed to fetch URL http://dl-ssl.google.com/android/repository/addons_list-1.xml出错二

近日,因为某些原因,大家在使用Android SDK升级的时候,出现了访问Failed to fetch URL http://dl-ssl.google.com/android/repository/addons_list-1.xml 的情况.按照我之前给大家提供的方案:详细 已经没办法继续使用了,这个时候,别慌. 其实当你看到这篇文章的时候,https://www.google.com.hk是已经访问不了了.具体原因,不便解释,你只要明白443端口已经over了. 好了,我现在很正经的说说怎

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

使用SDK Manager更新时出现问题 Failed to fetch URL https://dl-ssl.google.com/android/repository/repository-6.xml, reason: Connection to https://dl-ssl.google.com refused Failed to fetch URL http://dl-ssl.google.com/android/repository/addons_list-1.xml, reason:

[转载]关于android SDK安装Failed to fetch URL http://dl-ssl.google.com/android/repository/addons_list-1.xml出错

原文地址为:http://blog.csdn.net/springsky_/article/details/7442388 因为入行移动测试,所以很多测试环境的搭建.从中遇到了和这个GG同样的问题.怕GG哪天删了,就转载了GG的博文~ 最近SDK出问题了,然后在google下载了一个android-sdk-windows.rar,然后点击SDK Manager,结果一直不能刷新API Level,然后就开始在网上找了好多资料,解决这个问题,修改 HOSTS,    HTTP  和  HTTPS 

Failed to fetch URL https://dl-ssl.google.com CPU acceleration status: HAX kernel module is not installed!

1.打开C:/WINDOWS/system32/drivers/etc中的hosts文件  在最后一行添加74.125.237.1 dl-ssl.google.com 2.如果仍然链接失败 就打开SDK Manager.exe,选中tool栏,点Android SDK Manager ,在下面Force https://...sources to be fetched using http://... 打上勾就行了,这个主要是把受保护的协议 https 转成普通http 3.仍然失败,继续尝试如

关于Android sdk有事安装出现报Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list-2.xml错误的问题 只要两部就可以搞定

第一步 Windows 系统hosts位于 C:\Windows\System32\drivers\etc\hosts Android(安卓)系统hosts位于 /system/etc/hosts Mac(苹果电脑)系统hosts跟Linux一样位于 /etc/hosts iPhone(iOS)系统hosts跟Linux Mac一样位于 /etc/hosts Linux系统hosts位于 /etc/hosts 第二步 链接:http://pan.baidu.com/s/1c2uZ3sk 密码:m

android SDK Manager更新不了,出现错误提示:"Failed to fetch URL..."!

可以用以下办法解决: 使用SDK Manager更新时出现问题 Failed to fetch URL https://dl-ssl.google.com/android/repository/repository-6.xml, reason: Connection to https://dl-ssl.google.com refused Failed to fetch URL http://dl-ssl.google.com/android/repository/addons_list-1.x

Android SDK Manager - Solution to "failed to fetch URL http://dl-ssl.google.com/android/repository/addons_list-2.xml"

首先需要说明的这不是国内无法访问Google服务器的解决方案,这里说明的是在可以访问的情况下需要正确配置代理. 背景 - Win7, 使用PAC代理 浏览器可以根据PAC文件来判读对一个URL使用哪个代理.该机制是在浏览器内部起作用.当我们用Eclipse或者Android Stuidio打开SDK Manger获取更新时,该机制无法起作用. 使用的PAC文件 问题 - Android SDK Manager无法正常连接Google Failed to fetch URL http://dl-s