Android _ Development Environment (offline)

Source: Internet
Author: User

The general installation method of Android is very simple. Needless to say.

Because the general installation method is slow, it takes several hours for the average user to wait.

For faster installation, you can use an offline installation method. That is, download the required packages and then install them.

 

First download the sdkinstallation package, and unzip android-sdk_r06-windows.zip (Installation Tool) to the directory, such as my Directory D:/programs/Android-SDK-Windows

2. Create the following folders:

Platforms, Docs, samples, usb_driver, market_licensing

3. Delete all content of tools

This step is optional because the tool content may be outdated or still available.

4. Open the download tool (thunder, Donkey, etc.) and download the following content:

 

Google API installation package

Http://dl-ssl.google.com/android/repository/google_apis-3-r03.zip

Http://dl-ssl.google.com/android/repository/google_apis-4_r02.zip

Http://dl-ssl.google.com/android/repository/google_apis-5_r01.zip

Http://dl-ssl.google.com/android/repository/google_apis-6_r01.zip

Http://dl-ssl.google.com/android/repository/google_apis-7_r01.zip

Http://dl-ssl.google.com/android/repository/google_apis-8_r02.zip

Android SDK

Http://dl-ssl.google.com/android/repository/android-1.1_r1-windows.zip

Http://dl-ssl.google.com/android/repository/android-1.5_r04-windows.zip

Http://dl-ssl.google.com/android/repository/android-1.6_r03-windows.zip

Http://dl-ssl.google.com/android/repository/android-2.0_r01-windows.zip

Http://dl-ssl.google.com/android/repository/android-2.0.1_r01-linux.zip

Http://dl-ssl.google.com/android/repository/android-2.1_r02-windows.zip

Http://dl-ssl.google.com/android/repository/android-2.2_r02-windows.zip

License

Http://dl-ssl.google.com/android/repository/market_licensing-r01.zip

Tools

Http://dl-ssl.google.com/android/repository/tools_r07-windows.zip

Document

Http://dl-ssl.google.com/android/repository/docs-2.2_r01-linux.zip

Example

Http://dl-ssl.google.com/android/repository/samples-2.2_r01-linux.zip

Http://dl-ssl.google.com/android/repository/samples-2.1_r01-linux.zip

USB driver

Http://dl-ssl.google.com/android/repository/usb_driver_r03-windows.zip

 

Every package is around 60 m, and the speed of thunder is very fast. My CERNET has completed all the downloads in ten minutes.

 

If you are a friend of the Linux platform, change windows to Linux, and change Mac to MacOSX.

Bytes

..

5. Extract the document to the specified directory.

Decompress the file starting with Android to the platforms directory.

Decompress the file starting with goole_apis to the add-ons directory.

Decompress market_licensing-r01.zip to the market_licensing directory.

Decompress tools_r07-windows.zip to the tools directory (the folder is cleared before)

Extract docs-2.2_r01-linux.zip to docs

Decompress samples-2.2_r01-linux.zipand samples-2.20.r01-linux.zip to the samples directory.

Decompress usb_driver_r03-windows.zip to the usb_driver directory.

 

Basically, the installation is complete.

 

Open the SDK setup. ext and find the installed content.

However, there may also be content to be updated or installed, because the updated content may already exist when you see this article.

 

ThenAdd installation directory/tools to system environment variablesTo add the installation directory to android_home. The installation is complete.

 

However, it can still be said in eclipse that it cannot be found. Maybe the plug-in is too low-performing. You need to make a small modification, and rename the format of the folder after decompression.

 

Google_apis-3-r03> google_apis-3

Google_apis-4_r02> google_apis-4

Google_apis-5_r01> google_apis-5

Google_apis-6_r01> google_apis-6

Google_apis-7_r01> google_apis-7

Google_apis-8_r02> google_apis-8

 

Android-1.1_r1 --- & gt; Android-1.1

Android-1.5_r04 --- & gt; Android-1.5

Android-1.6_r03 --- & gt; Android-1.6

Android-2.0_r01 --- & gt; Android-2.0

Android-2.0.1_r01 --- & gt; Android-2.0.1

Android-2.1_r02 --- & gt; Android-2.1

Android-2.2_r02 --- & gt; Android-2.2

 

Samples-2.2_r01 ---> samples-2.2

Samples-2.1_r01 ---> samples-2.1

After you restart eclipse, everything is normal!

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.