最近SDK出问题了,SDK Manager一直不能刷新API Level,看图


错误代码:

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.  [html] view plaincopyFetching https://dl-ssl.google.com/android/repository/addons_list-1.xml  Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list-1.xml, reason: Connection to https://dl-ssl.google.com refused  Fetched Add-ons List successfully  Fetching URL: https://dl-ssl.google.com/android/repository/repository-6.xml  Failed to fetch URL https://dl-ssl.google.com/android/repository/repository-6.xml, reason: Connection to https://dl-ssl.google.com refused  Done loading packages. 


网上找了很多资料,除了使用软件之外,发现一个很好用的方法啊,来自csdn的某个大神的:http://blog.csdn.net/springsky_/article/details/7442388

于是照着来,找到菜单栏:Tools——>Options


 如图设置好后点击close,API Level就全部出来了,呵呵,感谢这位大神贡献的方法,在此收录让更多的人看到~~

更多相关文章

  1. 【 Android(安卓)'四大组件' 】篇 -- Activity 的 "启动流程"
  2. android scroller类的使用
  3. vue.js的h5页面与android(WebViewJavascriptBridge) / ios(windo
  4. Android开发进阶:如何读写Android文件
  5. Unity与Android的互相调用
  6. Android(安卓)面试必备 - JVM 及 类加载机制
  7. Android(安卓)Launcher 分析
  8. Android编程实现屏幕自适应方向尺寸与分辨率的方法
  9. Titanium中Android模块开发指南(中文)

随机推荐

  1. Android设计中的.9.png
  2. android:scaleType属性
  3. 让Ubuntu和Android同时运行(Ubuntu on And
  4. Android(安卓)增加中文字体
  5. android WebView总结
  6. Android之EditText 属性汇总
  7. Android中屏幕相关的操作
  8. Android(安卓)4.0 对通知栏图标的尺寸有
  9. 使用NDK的Cmake编译报错:Invalid Android(
  10. android 中的几种目录