Android Development Environment offline Installation Method

Source: Internet
Author: User
Android Development Environment offline installation method (not necessarily easy to use)Source: logs of liangzheng zhengrong yaoyun

Method 1 (AVD installation ):

Download a android-sdk_r04-windows.zip auto update tool first

Http://dl.google.com/android/android-sdk_r04-windows.zip

Download the android 2.1 SDK (77.31 MB, which is recommended for manual updates by advanced users)

Https://dl-ssl.google.com/android/repository/android-2.1_r01-windows.zip (77.31 MB

 

ExtractAndroid-sdk_r04-windows.zip directory structure is D: \ Android-SDK-Windows

Decompress android-2.20.r01-windows.zip and decompress it to get the android-2.1_r01-windows folder

Then place the android-2.1_r01-windows in D: \ Android-SDK-Windows \ platforms \

The final directory structure is D: \ Android-SDK-Windows \ platforms \ android-2.1_r01-windows

 

Run the SDK manager.exe and you will see that the SDK is successfully installed.

 

Method 2 (complete installation ):

 

[Introduction]

The Android version is updated quickly. If you use the traditional method to update it online, the operation will be slow! It may be caused by restrictions on the domestic network environment. I personally think that the faster method is to use a download tool (such as thunder) to download the latest resources and recreate them.

 

[JDK]

: Http://www.oracle.com/technetwork/java/javase/downloads/index.html

Installation overview: Install directly without setting the path

[Eclipse]

: Http://www.eclipse.org/downloads/

Introduction: IDE for Java EE

[ADT]

: Http://developer.android.com/sdk/eclipse-adt.html

Installation overview: Install from eclipse: Help-> install new software... -> Add... -> Archive... -> Select adt-x.x.x.zip.

[SDK tool]

: Http://developer.android.com/sdk/index.html

Installation overview:

1. Installation: When r8is started, android-sdk-installer_r08-windows.exe is available on the official website. If you download a zip file, decompress it.
2. Configure Windows> preferences> Android> browse… in eclipse... -> Select the location of the SDK installation directory.

[SDK packages]

XML address:

Https://dl-ssl.google.com/android/repository/repository.xml
Http://dl-ssl.google.com/android/repository/repository.xml

Offline Installation Introduction:

1. Analyze repository. XML to find out which packages (*. Zip) are required for the latest SDK environment ).
2. Copy the downloaded zip package to the following path. Temporary Storage path of the zip package during automatic update: <androidpath> \ Android-SDK-Windows \ Temp

3. Update in Eclipse: Windows-> Android SDK and AVD Manager-> available packages-> refresh-> select the package to be updated-> install selected-> Accept all-> install

Download path of the latest installation package:
Generally, the download speed is slow when automatic updates are updated. At least this is the case here. Therefore, I usually download the zip package offline to the temp folder and then update it. The address is listed below. It is faster to install it after using thunder!

Android SDK tools, revision 9

Download path: http://dl-ssl.google.com/android/repository/tools_r09-windows.zip
Android SDK platform-tools, revision 2

Download path: http://dl-ssl.google.com/android/repository/platform-tools_r02-windows.zip
Documentation for Android 'honeycomb' preview SDK, Revision 1

Download path: http://dl-ssl.google.com/android/repository/docs-Honeycomb_pre_r01-linux.zip
Documentation for Android SDK, API 9, Revision 1

Download path: http://dl-ssl.google.com/android/repository/docs-2.3_r01-linux.zip
SDK platform Android honeycomb preview, Revision 1

Download path: http://dl-ssl.google.com/android/repository/android-3.0_pre_r01-linux.zip
SDK platform Android 2.3.3, API 10, Revision 1

Download path: http://dl-ssl.google.com/android/repository/android-2.3.3_r01-linux.zip
SDK platform Android 2.3.1, API 9, revision 2

Download path: http://dl-ssl.google.com/android/repository/android-2.3.1_r02-linux.zip
SDK platform Android 2.3, API 9, Revision 1

Download path: http://dl-ssl.google.com/android/repository/android-2.3_r01-linux.zip
SDK platform Android 2.2, API 8, revision 2

Download path: http://dl-ssl.google.com/android/repository/android-2.2_r02-windows.zip
SDK platform Android 2.1, API 7, revision 2

Download path: http://dl-ssl.google.com/android/repository/android-2.1_r02-windows.zip
SDK platform Android 2.0.1, API 6, Revision 1 (obsolete)

Download path: http://dl-ssl.google.com/android/repository/android-2.0.1_r01-windows.zip
SDK platform Android 2.0, API 5, Revision 1 (obsolete)

Download path: http://dl-ssl.google.com/android/repository/android-2.0_r01-windows.zip
SDK platform Android 1.6, API 4, Revision 3

Download path: http://dl-ssl.google.com/android/repository/android-1.6_r03-windows.zip
SDK platform Android 1.5, API 3, Revision 4

Download path: http://dl-ssl.google.com/android/repository/android-1.5_r04-windows.zip
SDK platform Android 1.1, API 2, Revision 1 (obsolete)

Download path: http://dl-ssl.google.com/android/repository/android-1.1_r1-windows.zip
Sample for sdk api honeycomb preview, Revision 1

Download path: http://dl-ssl.google.com/android/repository/samples-Honeycomb_pre_r01-linux.zip
Sample for sdk api 10, Revision 1

Download path: http://dl-ssl.google.com/android/repository/samples-2.3.3_r01-linux.zip
Sample for sdk api 9, Revision 1

Download path: http://dl-ssl.google.com/android/repository/samples-2.3_r01-linux.zip
Sample for sdk api 8, Revision 1

Download path: http://dl-ssl.google.com/android/repository/samples-2.2_r01-linux.zip
Sample for sdk api 7, Revision 1

Download path: http://dl-ssl.google.com/android/repository/samples-2.1_r01-linux.zip
Google USB driver, Revision 4

Download path: http://dl-ssl.google.com/android/repository/usb_driver_r04-windows.zip

USB driver for Windows, Revision 4

Download path: http://dl-ssl.google.com/android/repository/usb_driver_r04-windows.zip

Android + Google APIs for Galaxy Tab, API 8, Revision 1

Download path: http://innovator.samsungmobile.com/android/repository/addon_samsung_GT_2.2_api-8_r01.zip

[Postscript]

I wanted to update these links to my library for a long time, but I still can't help it. I saw many friends still download files from my library, but the links are a little old, so I want to paste the new link! The link will be updated here if necessary. Hope to help you!

 

Method 3:

 

AndroidOffline Installation Method 

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 APIInstallation 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

AndroidDevelopment Kit

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

USBDriver

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.

 

For LinuxIf you are a friend of the PlatformChange to LinuxMac.A friend of the platform changed to MacOSX.You can.

Bytes

..

5. Extract the document to the specified directory.

Put androidDecompress the file starting with platformsDirectory

Put goole_apisDecompress the file starting with "add-ons"Directory

Set market_licensing-r01.zipDecompress the package to market_licensing.Directory

Set tools_r07-windows.zipDecompress to toolsDirectory (the folder is cleared before)

Put docs-2.2_r01-linux.zipDecompress to docs

Samples-2.2_r01-linux.zipAnd samples-2.20.r01-linux.zipDecompress the package to samples.Directory

Put usb_driver_r03-windows.zipDecompress the package to 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.

 

ThenInstallation Directory/ToolsAdd to system environment variableTo 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.