消除SDK更新时的“https://dl-ssl.google.com refused”错误
生活随笔
收集整理的這篇文章主要介紹了
消除SDK更新时的“https://dl-ssl.google.com refused”错误
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
消除SDK更新時,有可能會出現這樣的錯誤:
Download interrupted: hostname in certificate didn't match: <dl-ssl.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
總結
以上是生活随笔為你收集整理的消除SDK更新时的“https://dl-ssl.google.com refused”错误的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 室内声场计算机模拟的声线跟踪法和虚声源法
- 下一篇: python循环里使用len()与计算出