Android technology 5: Android SDK update solution, androidsdk

Source: Internet
Author: User
Tags android sdk manager

Android technology 5: Android SDK update solution, androidsdk

Because Google cannot access all websites for some reason, the android SDK version cannot be updated.

First, modify the hosts file. The file is located on the system disk (usually drive C). The path is C: \ Windows \ System32 \ drivers \ etc \ hosts. Add the following content

# Download the updated content from the following address:
203.208.46.146 dl.google.com
203.208.46.146 dl-ssl.google.com

Second, in the Tool-> Option of Android SDK Manager, change the https Resource Acquisition Method to http.

 

Now, we can update it.


Android sdk update Problems

There is a temp folder under your sdk Directory, which may contain one or more items called ToolPackage. new0x (x is the number, which has no effect). The contents in this folder are the same as those in tools.

You can delete all the items (including folders) in the tools under the sdk directory, but you only need to end your adb process.

Copy all the files (including folders) in ToolPackage. new0x to tools.
Update again.

Android SDK update Problems

The first problem is that you have locked the file in the running eclipse environment. Please close eclipse before proceeding.

The second problem is that you need to enter the name of the application. (at least the prompt is as follows ),

I don't understand this in English, or I don't want to watch it. What else do you do with android?

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.