安裝Android SDK出現Failed to fetch URL http://dl


最近有一個項目要用安卓開發,記得以前裝過Android SDK,今天照例。先下載Eclipse,又裝好了ADT,可是在裝Android SDK時卻出現了
Fetching http://dl-ssl.google.com/android/repository/addons_list-1.xml
Failed to fetch URL http://dl-ssl.google.com/android/repository/addons_list-1.xml, reason: Connection to http://dl-ssl.google.com/ refused
Fetched Add-ons List successfully
Fetching URL: http://dl-ssl.google.com/android/repository/repository-6.xml
Failed to fetch URL http://dl-ssl.google.com/android/repository/repository-6.xml, reason: Connection to http://dl-ssl.google.com/ refused
Done loading packages.

安裝Android SDK出現Failed to fetch URL http://dl-ssl.google.com/android/repository/addons_list-1.xml解決方案
      網上查資料,終於在谷歌官網找到了答案
http://code.google.com/p/android/issues/detail?can=2&start=0&num=100&q=&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars&groupby=&sort=&id=21359
      具體操作:
•用記事本或Gvim打開C:\WINDOWS\system32\drivers\etc中的hosts文件
•在最后一行添加74.125.237.1 dl-ssl.google.com
•成功解決問題。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM