Android SDK下载和更新失败解决方法

原因是dl-ssl.google.com访问不到,解决方法就是修改C:\Windows\System32\drivers\etc\hosts文件。添加一行:

74.125 . 237.1        dl-ssl.google.com

在mac或Linux中,hosts文件所在位置为/etc/hosts,可以使用sudo vim/etc/hosts来编辑。

猜你喜欢

转载自ye-good-job.iteye.com/blog/1924559
今日推荐