【Android:】解決google下載緩慢的問題

Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list-2.xml, reason: Connect

解決辦法:更新sdk,遇到 Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list-2.xml, reason:…..
在網上找的資料
「HTTP Proxy Server」:mirrors.neusoft.edu.cn
「HTTP Proxy Port」 :80
選中Foce https://…sources to be fetched using https://…
設置好了之後瞬間特別快~

如果以上的方法還不能成功的話,使用以下終極方法,指定Host:

74.125.237.1 dl-ssl.google.com

具體操作方式:
點擊桌面左下角開始菜單中的搜索,把以下路徑,c:\windows\system32\drivers\etc,複製到搜索窗口中 ,找到host文件,其實是一個純文本的文件,
1、用記事本打開
2、將:74.125.237.1 dl-ssl.google.com 添加至最後一行
3、保存關閉Host

使用http協議而不是https協議,因爲https協議進行了加密處理,大陸因爲無法審查,直接封死,而http協議則進行過濾處理,如果不訪問亂七八糟的東西,更新個SDK還是沒問題的。
在SDK Manager下Tools->Options打開了SDK Manager的Settings,選中“Force https://… sources to be fetched using http://…”,強制使用http協議。
而在更新ADT插件的時候則使用網址http://dl-ssl.google.com/android/eclipse,而不是https://dl-ssl.google.com/android/eclipse

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章