Update Android SDK to access Google and other non-proxy methods. androidsdk

Source: Internet
Author: User

Update Android SDK to access Google and other non-proxy methods. androidsdk

I am going to do ANDROID recently. I originally wanted to download it from the image URL and found that the company's network was blocked. Then I searched the network and found the following method:

1) Change HOST

2) use proxy

Using a proxy is illegal in the company environment, so it cannot be used

Only the HOST method is changed.

However, the HOST found on the Internet is not already on the wall, or GOOGLE has deleted the page. Although it is pinged, it cannot be downloaded.

Then I found the 17ce website

Modify HOST, direct dl-ssl.google.com to 74.125.130.91, run ADT update, update successful


Android sdk cannot be connected to google during installation, and the connection is rejected

I also encountered your problem, but now I have solved it.
The method is simple:
In SDK Manager Tools-> Options, open the Settings of SDK Manager and select "Force https ://... Sources to be fetched using http ://...", Use http.
In Windows, open the/etc/hosts file in C: \ WINDOWS \ system32 \ drivers \ etc, and add
# Google_android update
203.208.46.146 dl.google.com
203.208.46.146 dl-ssl.google.com
That's it. However, I encountered some problems when installing the ADT plug-in later. Unfortunately, we can talk about it.

Win7 install android sdk old Fetching https: // dl-sslgooglecom/android/repository/addons_list-1xml Fa

Cannot connect to Google update network.
The solution is as follows:

Open the C: \ Windows \ System32 \ drivers \ etc directory, find the Hosts file, open it in notepad, and add
# Google_android update
203.208.46.146 dl.google.com
203.208.46.146 dl-ssl.google.com127.0.0.1 servserv.generals.ea.com

Then, save and shut down and restart the SDK.




Related Article

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.