Fetching https://dl-ssl.google.com/android/repository/addons_list-2.xml
Fetched Add-ons List successfully
Fetching URL: https://dl-ssl.google.com/android/repository/repository-8.xml
Done loading packages.
Fetching https://dl-ssl.google.com/android/repository/addons_list-2.xml
Failed to fetch URL
https://dl-ssl.google.com/android/repository/addons_list-2.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-8.xml
Failed to fetch URL
https://dl-ssl.google.com/android/repository/repository-8.xml, reason:
HttpHostConnect Connection to https://dl-ssl.google.com refused
Done loading packages.
解决国内访问Google服务器的困难:
1).启动 Android SDK Manager ;
2).打开主界面,依次选择「Tools」、「Options...」,弹出『Android SDK Manager - Settings』窗口;
3).在『Android SDK Manager - Settings』窗口中,在「HTTP Proxy Server」和「HTTP Proxy
Port」输入框内填入mirrors.neusoft.edu.cn和80,并且选中「Force https://... sources to
be fetched using http://...」复选框;4.设置完成后单击「Close」按钮关闭『Android SDK Manager
- Settings』窗口返回到主界面;
5).依次选择「Packages」、「Reload」。
1)、从我的电脑打开C:WindowsSystem32driversetc路径下的hosts文件(有txt文本方式打开)
#google_android更新
203.208.46.146 dl.google.com
203.208.46.146 dl-ssl.google.com127.0.0.1 servserv.generals.ea.com
74.125.237.1 dl-ssl.google.com
127.0.0.1 localhost
203.208.46.146 dl.google.com
74.125.237.1 dl-ssl.google.com
3、 运行后出现下面的界面,我们选择自己想安装的 Android 版本,我选择了最新版本,然后点击“Install X packages”安装
4、 在新出现的界面上,选择接受并遵守所有许可内容(Accept All),再点击 “Install”。
5、安装好后,在 Android SDK 管理器界面上你所选的包后面会显示“Installed”,表示已经安装好了。
基本上就成功了