您的位置:首页 > 移动开发 > Android开发

Android SDK 无法更新的解决方法

2015-08-02 00:00 513 查看
转自:http://blog.csdn.net/qm4050/article/details/7616647

Windows:

在SDK Manager下Tools->Options打开了SDK Manager的Settings,选中“Force https://… sources to be fetched using http://…”,强制使用http协议。

Windows在C:\WINDOWS\system32\drivers\etc打开/etc/hosts文件,添加
#google_android更新
203.208.46.146 dl.google.com
203.208.46.146 dl-ssl.google.com

Linux下面也是一样的做法,只是再Linux下面, hosts文件的位置在: /etc/hosts。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息