安装Android SDK遇到的问题
安装Android SDK请参考:
Android SDK 下载与安装教程
遇到的问题
1、Failed to fetch URL http://xxx
解决方法:在SDK Manager中设置代理解决
参考:http://blog.csdn.net/vipa1888/article/details/7442388
2、Unable to connect to repository http://xxx
解决方法:
用记事本(notepad)打开C:\WINDOWS\system32\drivers\etc中的hosts文件
添加如下内容到末尾:
74.125.237.1 dl-ssl.google.com
203.208.46.146 dl.google.com
203.208.46.146 dl-ssl.google.com
参考:http://blog.csdn.net/lamp_zy/article/details/7983957
3、Cannot complete the install because one or more required items could not be found
参考:http://www.2cto.com/kf/201110/106715.html
其实按2方式更改hosts基本上就能解决大部分问题