android SDK装配出现Failed to fetch URL http://dl-ssl.google.com/android/repository/a

来源:互联网 发布:智学网mac版本 编辑:程序博客网 时间:2024/06/05 14:57
android SDK安装出现Failed to fetch URL http://dl-ssl.google.com/android/repository/a


  早上起来弄了下环境,直接在android官方下载了个adtecplise ,自带了个4.2的sdk,可我平时还用到2.3.3的版本。于是我就去更新其他,发现不能更新出现Failed to fetch URL http://dlssl.google.com/android/repository/a

在网上找了好多资料,解决这个问题,修改 HOSTS,    HTTP  和  HTTPS都没解决。

1.修改c:/windows/system32/dervices/etc/hosts

添加

74.125.237.1 dl-ssl.google.com

203.208.46.146 www.google.com
74.125.113.121 developer.android.com
71.125.237.1 dl.google.com
203.208.46.146 dl-ssl.google.com

 我尝试了下无效

2.打开android adb manager 菜单上有个tool--options--设置如下图


据说是被屏蔽了谷歌的东西,但google.com是没被屏蔽。


终于可以了!

0 0
原创粉丝点击