Android SDK 更新不下來解決方案,androidsdk

來源:互聯網
上載者:User

Android SDK 更新不下來解決方案,androidsdk

國內的小夥伴是不是更新SDK總是更新不動呢,小弟找到一個好的解決方案,把SDK的所有都下載全了也就用了一個小時,勻速2M/s。

解決方案是修改win7的host檔案。

路徑:C:\Windows\System32\drivers\etc\host


最後加上如下:

#Google首頁203.208.46.200 www.google.com203.208.46.200 developer.android.com203.208.46.200 dl.google.com203.208.46.200 dl-ssl.google.com

然後泡杯咖啡,等會就ok。



怎解決android SDK 不可以更新問題?

超級簡單,我寫了一個工具,點一下就搞定了,所有android SDK通殺!!!

 
android sdk manager沒顯示更新,只顯示已安裝,這該怎解決??

這個可能是網路問題,國內連google伺服器經常連不上。
嘗試用下面辦法試下:1.SDK Manager 的 Tools ->Options開啟SDK Manager的Settings,
選中“Force https://… sources to be fetched using http://…”,
強制使用http協議。
2.改hosts檔案。
Windows在C:\WINDOWS\system32\drivers\etc目錄下,
Linux使用者開啟/etc/hosts檔案,
開啟檔案後添加以下內容:
#android更新203.208.46.146 dl.google.com203.208.46.146 dl-ssl.google.com
 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.