消除安卓SDK更新时的“https://dl-ssl.google.com refused”异常的方法
消除安卓SDK更新時的“https://dl-ssl.google.com?refused”異常的方法
?消除安卓SDK更新時的“https://dl-ssl.google.com refused”異常的方法
[轉(zhuǎn)載]原地址:http://blog.csdn.net/x605940745/article/details/17911115
消除SDK更新時的“https://dl-ssl.google.com refused”錯誤
消除SDK更新時,有可能會出現(xiàn)這樣的錯誤:
Download interrupted: hostname in certificate didn't match: != <<A href="http://www.google.com">www.google.com>
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://…”勾選!
如果還有錯,可以在文件(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
總結(jié)
以上是生活随笔為你收集整理的消除安卓SDK更新时的“https://dl-ssl.google.com refused”异常的方法的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 2022-2028年中国场景金融行业深度
- 下一篇: 十进制转化为二进制java代码_【模板小