首页 > 代码库 > ubuntu不能更新SDK或更新很慢解决办法

ubuntu不能更新SDK或更新很慢解决办法

打开终端输入sudo gedit /etc/hosts 添加以下

203.208.46.146 dl.google.com

203.208.46.146 dl-ssl.google.com
203.208.46.146 groups.google.com
203.208.46.146 goo.gl
203.208.46.146 appengine.google.com
74.125.113.121 developer.android.com

74.125.237.1 dl-ssl.google.com


打开Android SDK Manager,选上方的菜单Tools,进入Options,在“Force https://… ”前面打钩,就可以更新了!