Update Android SDK timeout failed

Source: Internet
Author: User

Prior to update the SDK has been unsuccessful, has been timeout, the network from 1m to fiber, and then Baidu, basically let the change hosts file, but that IP address has no effect, was the pit miserable. This problem is related to the source, the following ping out of the IP to be effective.

Under Linux:

Open Terminal

Ping dl-ssl.google.com

You can see that the connection is very slow

Change Address

Ping dl.google.com

See the IP address is: 203.208.48.129 (this address will change, please use the actual ping to prevail)

Execute sudo gedit/etc/hosts below

Open the Hosts file

Add the following line: 203.208.48.129 dl-ssl.google.com

Save to take effect. Open the Android SDK again to see how it works. My speed from the original 50k changed to 5000k ...

Under Windows:

Run-cmd and Ping

Windows hosts in the C\WINDOWS\SYSTEM32\DERIVERS\ETC directory

Also at the end add 203.208.48.130 (this is I ping out under Windows) dl-ssl.google.com

Update Android SDK timeout failed

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.