[置顶] Android 系列:安装Android SDK出现Failed to fetch URL http://dl
16lz
2021-01-23
最近有一个项目要用安卓开发,记得以前装过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.
网上查资料,终于在谷歌官网找到了答案
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
•成功解决问题。
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.
网上查资料,终于在谷歌官网找到了答案
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
•成功解决问题。
更多相关文章
- Android面试题集2019版(包含答案整理)
- 《Android移动应用基础教程》(Android Studio)(第二版)黑马教程 课后
- Android 面试题及答案(英文)
- android仿今日头条App、多种漂亮加载效果、选择器汇总、记事本Ap
- android仿今日头条App、多种漂亮加载效果、选择器汇总、记事本Ap
- 《Android移动应用基础教程》(Android Studio)(第二版)黑马教程 课后
- Android记事本NotePad应用功能拓展(四)
- asp .net 面试题及答案分享
- 抄答案就是了,两套详细的设计方案,解决头疼的掉单问题