ITPub博客

首页 > Linux操作系统 > Linux操作系统 > SDK更新时的“https://dl-ssl.google.com refused”错误

SDK更新时的“https://dl-ssl.google.com refused”错误

原创 Linux操作系统 作者:jinqibingl 时间:2015-02-13 23:40:22 0 删除 编辑

SDK更新时的“https://dl-ssl.google.com refused”错误
Download interrupted: hostname in certificate didn't match: != <>
Download interrupted: Connection to https://dl-ssl.google.com refused
Done. Nothing was installed.
 
解决办法是:将https://修改为http://
修改方法是:如下图,在Android SDK Manager->Tools-Options...选项界面,
将“Force https://… sources to be fetched using http://…”勾选!
SDK更新时的“https://dl-ssl.google.com refused”错误 - qibin jin - 为了老婆和小乖乖,继续前进
 
如果还有错,可以在文件(C:\Windows\System32\drivers\etc\hosts)中,添加如下几行:
203.208.46.146
203.208.46.146 dl.google.com 
203.208.46.146 dl-ssl.google.com

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/9606200/viewspace-1435670/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2010-08-19

  • 博文量
    154
  • 访问量
    325250