首页 > 代码库 > Download interrupted: 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 这个可能是网络问题,国内连google服务器经常连不上。

 

尝试用下面办法试下:

1.上图SDK Manager 的 Tools ->Options打开SDK Manager的Settings,

选中“Force https://… sources to be fetched using http://…”,

强制使用http协议。

技术分享

技术分享

 


2.改hosts文件。

Windows在C:\WINDOWS\system32\drivers\etc目录下,

Linux用户打开/etc/hosts文件,

打开文件后添加以下内容:

 

#android更新

203.208.46.146 dl.google.com

203.208.46.146 dl-ssl.google.com

 

若修改Hosts后还是失效,就的FQ了,总之要连接上 dl.google.com 和dl-ssl.google.com

Download interrupted: Connection to https://dl-ssl.google.com refused