Android(安卓)SDK更新失败及其解决办法
16lz
2021-12-04
出现Failed to fetch URL错误提示
Failed to fetch URL https://dl-ssl.google.com/android/repository/repository-6.xml, reason: Connection to https://dl-ssl.google.com refused Failed to fetch URL http://dl-ssl.google.com/android/repository/addons_list-1.xml, reason: Connection to http://dl-ssl.google.com refused Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list-1.xml, reason: hostname in certificate didn't match: != 更新ADT时无法解析https://dl-ssl.google.com/android/eclipse
解决办法
打开C:\Windows\System32\drivers\etc文件夹,将hosts文件复制到桌面,用文本编辑软件(如Subline Text2)打开hosts文件。增加一行:74.125.237.1 dl-ssl.google.coms
更多相关文章
- 3.4、Android(安卓)Studio 创建Android(安卓)库
- Android(安卓)音频 OpenSL ES PCM数据播放
- 守护进程通信之Socket
- Android(安卓)Makefile分析
- 更改Android(安卓)AVD模拟器创建路径位置的方法
- [置顶] 搬家、备份后启动Android(安卓)PANIC :Could not open D:
- Linux与Android
- android:shape的使用 (android用xml文件生成图像控件)
- Android上传下载文件(图片)