龍巖易富通網(wǎng)絡(luò)科技有限公司

龍巖小程序開發(fā),龍巖分銷系統(tǒng)

消除SDK更新時的“https://dl-ssl.google.com refused”異常

2015.09.10 | 872閱讀 | 0條評論 | 未命名

消除SDK更新時的“https://dl-ssl.google.com refused”錯誤

消除SDK更新時,有可能會出現(xiàn)這樣的錯誤: 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...選項(xiàng)界面, 將“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

贊 (

發(fā)表評論