Android Studio下载sdk失败的解决方案

admin5年前IT技术2698

在浏览器打开这个网站http://ping.chinaz.com/dl.google.com

或者:https://www.ping.cn/ping/dl.google.com

他会列出一个ip列表,挨个ping,找一个响应时间短的,

我写这篇文章的时候,找到一个比较快的ip:203.208.40.40,

可能你看到这篇文章的时候,这个ip会比较慢,甚至超时无法访问,也都是有可能的。

找到了ip后,修改host文件,就可以下载sdk了。

host文件的位置在:C:\Windows\System32\drivers\etc\hosts

修改host文件修改如下

203.208.40.40 dl.google.com

 

相关文章

php – DOMXpath – 获取一个元素的href属性和文本值[转]

原文https://stackoverflow.com/questions/6820429/domxpath-get-href-attribute-and-text-value-of-an-a-ele...

linux 挂载win7共享文件夹的方法

mount -t cifs -o user=administrator,password=000000 //192.168.1.2/gongxiang /mnt/share...

短链接伪静态

if (!-f $request_filename){ rewrite (.*) /index.php;}...

未命名

<?phpnamespace Article;class Comment { }namespace MessageBoard;class Comment { }//调用当前空间(MessageB...

php移动APP单页应用开发前端后端框架v1.0

php移动APP单页应用开发前端后端框架v1.0简称phpwn  1.0在线演示˂a href="download/phpwn.zip" target="_blank"˃官方下载开发此套框架...

树莓派安装软件

 apt-get install ...

发表评论    

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。