最近有一个项目要用安卓开发,记得以前装过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
•成功解决问题。

更多相关文章

  1. Eclipse中使用Ant打Android包报错解决方案 – Perhaps JAVA_HOME
  2. Android中关于android:imeOptions="actionSearch"使用android:ma
  3. android兼容huawei手机刘海屏解决方案
  4. android兼容oppo手机刘海屏解决方案
  5. android兼容小米xiaomi刘海屏解决方案
  6. 王家林的81门一站式云计算分布式大数据&移动互联网解决方案课程
  7. android 开发中java.net.UnknownServiceException: CLEARTEXT co

随机推荐

  1. Android中点击事件之CheckedChangeListen
  2. Android(安卓)常用系统功能(打开相册,打开
  3. tabhost相关报错
  4. 关于Android(安卓)中sqlite 报can not op
  5. android notification 事件
  6. Android(安卓)cts测试命令
  7. android监听网络变化
  8. android对话框弹出方式动画
  9. 永恒族下载/迅雷BT[HD-1280P/2.21GB/MP4
  10. 【转载】盘点|2021年最受欢迎Linux桌面操