修改代理:
vim /etc/hosts // 打开网络配置文件
127.0.0.1 localhost
203.208.46.146 dl-ssl.google.com // 添加这个 IP
203.208.46.146 dl.google.com // 添加这个 IP
这时如果直接 SDK Manager 更新时,出现
SSL hostname in certificate didn't match: <dl-ssl.google.com> != <www.google.com> OR <www.google.com>
这个问题,原因是它使用 https 加密协议来访问