Update the android SDK and summarize the problems encountered during ADT upgrade (not tested)

Source: Internet
Author: User
Tags android sdk manager

Problems solved in this article:

1. Upgrade Android SDK, ADT (Android SDK tools) to 16, and SDK upgrade 4.0

2. Failed to fetch URL http://dl-ssl.google.com/android/repository/addons_list-1.xml, reason: connection to http: // 10.159.192.62: 8080 refused

3. Failed to rename directory * \ Android-SDK-Windows \ tools to * \ Android-SDK-Windows \ temp \ toolpackage. old01

Content:

Because Google China was strong, the server moved abroad, so we open the SDK manager, will encounter failed to fetch URL http://dl-ssl.google.com/android/repository/addons_list-1.xml, reason: connection to http: // 10.159.192.62: 8080 refused and other issues,

The solution is as follows:

The first method is to create an SSH file on the Internet, and then go to Android SDK Manager> Tools> options in the toolbar.

Enter the SSH proxy server and port number, OK. update it!

There is also a way to use free gate to span the Great Wall software (expert edition), add a program to span the Great Wall in the rightmost program tab, select SDK manager,

The name is random and the parameter is omitted.

 

Most APIs are updated without any errors. However, when you want to upgrade Android SDK tools and arm Eabi v7a system image

Failed to rename directory * \ Android-SDK-Windows \ tools to * \ Android-SDK-Windows \ temp \ toolpackage. old01

It is useless to instruct the user to turn off the anti-virus software or any program that uses the directory resources. This is a logical defect of the program. Its upgrade logic is like this.

1. Run

2. Modify the parent directory name.

3. Update the modified directory

4. Name Restoration

The solution is as follows:

1. Copy the tools directory to a new directory named "tools-Copy". In this case, the android-SDK-Windows directory contains two directories: Tools and tools-copy.

2. run Android. bat in the tools-copy directory to update the SDK.

3. After the update, close the SDK and delete the tools-copy directory.

4. Run the SDK setup.exe In the Android-SDK-Windows directory.

 

There is also the issue of Great Wall interception. See the first solution to the Great Wall problem. If you use the free gate software, you will find that when you add a program to span the Great Wall, you can only select the. exe file.

You cannot select the Android. BAT file. This is also simple. You can directly copy the execution path of Android. bat to the file path and change the directory to its parent directory tools-copy.

 

Warm regards

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.