萬盛學電腦網

您现在的位置: 萬盛學電腦網 >> 軟體知識 >  >> 熱門軟體

Android SDK Manager 無法更新解決方案:修改 hosts 檔案直連 Google 下載伺服器

Android SDK Manager 更新失敗?修改 hosts 檔綁定 Google 下載 IP 繞過封鎖

SDK Manager 連線 dl-ssl.google.com 被阻擋導致無法更新,核心解法為修改系統 hosts 檔案指向可用 IP。

最小修改法

編輯 C:\Windows\System32\drivers\etc\hosts(以文字編輯器開啟),末尾新增:

74.125.237.1 dl-ssl.google.com

存檔後重啟 Eclipse/Android Studio,打開 SDK Manager 即可正常更新。

完整 Google 服務 hosts 清單(可整份替換)

包含 Google Play、Gmail、Docs、Drive、Picasa、Google+、Chrome 應用商店、App Engine 等所有服務域名對應 IP,詳見原文完整列表(含 plus.google.com, mail.google.com, dl.google.com, code.google.com 等 100+ 條目)。

將完整清單存為 hosts 覆蓋原檔,即可暢通無阻存取所有 Google 服務。

延伸閱讀

copyright © 萬盛學電腦網 all rights reserved