转自:http://blog.csdn.net/vipa1888/article/details/7442388

最近SDK出问题了,然后在google下载了一个android-sdk-windows.rar,然后点击SDK Manager,结果一直不能刷新API Level,然后就开始在网上找了好多资料,解决这个问题,修改 HOSTS, HTTP 和 HTTPS 都不能解决,这给我带来了很大的困惑! 加载不出来的界面错误为:



[html] view plain copy
  1. Fetchinghttp://dl-ssl.google.com/android/repository/addons_list-1.xml
  2. FailedtofetchURLhttp://dl-ssl.google.com/android/repository/addons_list-1.xml,reason:Connectiontohttp://dl-ssl.google.comrefused
  3. FetchedAdd-onsListsuccessfully
  4. FetchingURL:<ahref="http://dl-ssl.google.com/android/repository/repository-6.xmlFailed">http://dl-ssl.google.com/android/repository/repository-6.xml
  5. Failed</a>tofetchURL<ahref="http://dl-ssl.google.com/android/repository/repository-6.xml">http://dl-ssl.google.com/android/repository/repository-6.xml</a>,reason:Connectiontohttp://dl-ssl.google.comrefused
  6. Doneloadingpackages.
[html] view plain copy
  1. Fetching<ahref="http://dl-ssl.google.com/android/repository/addons_list-1.xml">https://dl-ssl.google.com/android/repository/addons_list-1.xml</a>
  2. FailedtofetchURL<ahref="http://dl-ssl.google.com/android/repository/addons_list-1.xml">https://dl-ssl.google.com/android/repository/addons_list-1.xml</a>,reason:Connectionto<ahref="http://dl-ssl.google.com">https://dl-ssl.google.com</a>refused
  3. FetchedAdd-onsListsuccessfully
  4. FetchingURL:<ahref="http://dl-ssl.google.com/android/repository/repository-6.xml">https://dl-ssl.google.com/android/repository/repository-6.xml</a>
  5. FailedtofetchURL<ahref="http://dl-ssl.google.com/android/repository/repository-6.xml">https://dl-ssl.google.com/android/repository/repository-6.xml</a>,reason:Connectionto<ahref="http://dl-ssl.google.com">https://dl-ssl.google.com</a>refused
  6. Doneloadingpackages.


我就纠结了,一直连接失败,难道是电信把google android屏蔽了,最近有一个想法,电信再怎么屏蔽android 但是不会屏蔽google搜索引擎的,如果电信把google搜索引擎屏蔽了,那电信估计也倒闭了! 呵呵 我就做了一个选择 ,使用www.google.com做代理,详细看截图:

然后点击了一个package下的 reload 重新加载,呵呵 结果API level 全部出来了,真的很爽歪歪 ,呵呵 分享给大家,希望给大家有帮助~

更多相关文章

  1. Android(安卓)基于DataBinding的通用RecyclerView Adapter
  2. android标题栏添加延时加载标志
  3. Android中ViewFlipper实现动态加载view
  4. android有效解决加载大图片内存溢出的问题
  5. Android(安卓)Jni调用so库,加载库失败分析
  6. Android对第三方类库运行时加载
  7. 图片加载框架-Picasso最详细的使用指南
  8. android ViewPager动态加载问题
  9. Android(安卓)压缩网络上的图片BitmapFactory.decodeStream()返

随机推荐

  1. 13、从头学Android之RelativeLayout相对
  2. android资料共享
  3. Android(安卓)线程 thread 两种实现方法!
  4. android OpenGL学习笔记(二)
  5. 编写高效的Android代码
  6. [置顶] Android中_TextView属性的XML详解
  7. Google透露Android Market恶意程序扫描服
  8. Android第十八课 VS源码文件导入Android
  9. 了解Android(安卓)WebView
  10. Android(安卓)SDK和ADT无法更新的解决办