A simple method to install Android SDK offline in Windows

Source: Internet
Author: User

Use SDK manager to download and install the SDK quickly... Ignore the following text...

 

1.download android-sdk_rxx-windows.zip(xxis the upload number, you can also download the. exe version, but you have not tried it)

2. Download the SDK

2. 1. Enter http://dl-ssl.google.com/android/repository/repository.xml in the browser

2. Save the XML file and open it with ultraedit or another text editor. Then you can see the following content:

<Sdks: Platform> <br/> <SDK: version> 3.0 </SDK: version> <br/> <SDK: API-level> 11 </SDK: API-level> <br/> <SDK: codename> </SDK: codename> <br/> <SDK: Revision> 01 </SDK: revision> <br/> <SDK: Min-tools-rev> 10 </SDK: Min-tools-rev> <br/> <SDK: Description> Android SDK Platform 3.0, revision 1 </SDK: Description> <br/> <SDK: desc-URL> http://developer.android.com/sdk/ </SDK: desc-URL> <br/> <SDK: <br/> <SDK: Archive OS = 'any' arch = 'any'> <br/> <SDK: size> 104492296 </SDK: size> <br/> <SDK: Checksum type = 'sha1'> 8a51102aac58d1569adc08c31fde74f36a8ee17e </SDK: Checksum> <br/> <SDK: URL> android-3.0_r01-linux.zip </SDK: URL> <br/> </SDK: Archive> <br/> </SDK: archives> <br/> </SDK: Platform>

2. You can see the above <SDK: URL> android-3.0_r01-linux.zip </SDK: URL>, android-3.0_r01-linux.zip in the middle of

File Name.

. Open thunder (Other download tools have not tried) and enter http://dl-ssl.google.com/android/repository/the name of the file to be downloaded, which can be downloaded.

For example, android-3.0_r01-linux.zip

Enter http://dl-ssl.google.com/android/repository/android-3.0_r01-linux.zip.

2.5.the Method for downloading other files in XML is the same as above: Find the file name and then download the file name http://dl-ssl.google.com/android/repository/to download

3. Download Google API

3. 1. Enter http://dl-ssl.google.com/android/repository/addons_list.xml in the browser

3. Found Google API: https://dl-ssl.google.com/android/repository/addon.xml

3. For more information, see section 2.2 ~ 2.5 method to download the required files

4. Enable SDK manager to automatically install the files downloaded above

4. 1. Double-click to open SDK manager.exe, find a file to download and install in available packages, and then click Install selected

Button.

. A temp folder is generated under Android-SDK-Windows (directory where SDK manager.exe is located), which can be canceled by clicking the cancel key.

Download.

4. 3. Put the SDK and other files downloaded by thunder in the temp directory.

4. Close and re-open SDK manager.exe and then select the SDK to be installed and

Google API, and then click the install selected button. In this case, SDK manager directly decompress and install

File.

4.5.the tools_rxx-windows.zip (XX is the version number) file can be directly decompressed to the Tools Folder under the SDK directory to overwrite it.

. After the installation is complete, check whether the file in the temp folder has been deleted. If the file has not been deleted, it should have not been installed.

To reinstall the file that is not installed.

4. 7. Restart SDK manager after installation. (SDK manager automatically generates directories and installs files)

 

 

Reference: http://hi.baidu.com/kaisep/blog/item/204e621eed13f5f91bd576c6.html

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.