出现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

更多相关文章

  1. 3.4、Android(安卓)Studio 创建Android(安卓)库
  2. Android(安卓)音频 OpenSL ES PCM数据播放
  3. 守护进程通信之Socket
  4. Android(安卓)Makefile分析
  5. 更改Android(安卓)AVD模拟器创建路径位置的方法
  6. [置顶] 搬家、备份后启动Android(安卓)PANIC :Could not open D:
  7. Linux与Android
  8. android:shape的使用 (android用xml文件生成图像控件)
  9. Android上传下载文件(图片)

随机推荐

  1. android 获取应用签名文件的sha1值、md5(
  2. android SQLite (Cursor SQLiteDatabase S
  3. 常用布局及基本 UI 控件(2)
  4. android想用adb查看数据库 被告知inacces
  5. android 两种全屏
  6. Android(安卓)FrameWork 之Binder机制初
  7. Android(安卓)Bitmap和Drawable相互转换
  8. 转:adb shell start中启动activity和servi
  9. android Messenger 跨进程通信
  10. Android中Message传递参数【安卓进化十六