Android SDK国内更新
Contents
如果不嫌麻烦,可以直接用代理和VPN,可以选择GoAgent, Shadowsocks 和 OpenVPN。(ps: goagent 我遇到证书问题没有解决)以下是更改hosts直接更新的办法。
Mac/Linux 直接在 /etc/hosts 中,Windows在 X:\Windows\System32\drivers\etc\hosts (X为你的系统盘符) 添加如下项:
更新 Android Studio 和 InteliJ IDEA 插件所需
54.247.69.204 plugins.intellij.net
更新 Android SDK 的地址
203.208.46.146 dl-ssl.google.com
随后在 SDK Manager 选项中勾选 Force https://...source to be fetched using http://… 如此即可。
原文:http://www.cryse.org/android-studio-sdk-update-in-china/