Every installation of Android requires a certain amount of time, especially when the network is poor, it seems helpless if there is no network. The following method allows you to quickly install the andoid development tool. Of course, the first preparation requires network support.
Preparations
Download the tools on a computer that can access the Internet (take JDK 7, eclipse 3.7, adt12, and Android SDK 12 as an example)
-
- Download Java SDK
Open the Web http://www.oracle.com/technetwork/java/javase/downloads/index.html, click Java se jdk download, select agreement, download jdk-7-windows-i586.exe (32bit1_1_jdk-7-windows-x64.exe (64bit)
-
- Download eclipse for Java
Open the webpage http://www.eclipse.org/downloads/and download Eclipse IDE for Java developers, which also has 32-bit and 64-bit versions.
-
Download ADT plugin for eclipse
Go to http://developer.android.com/sdk/index.html, find ADT plugin for eclipse on the left side, and click ADT 12 under it. Then, find the link to adt-12.0.0.zip on the right side of the page and download it to your local machine.
-
- Download Android SDK
Open the webpage.
-
- Install Java SDK on this computer
- Decompress eclipse to a specified directory, such as D: \ eclipse. run eclipse.exe in the eclipsedirectory. After Entering eclipse, open "install new software…" under "help ...", Then, click "Add…" in the pop-up install dialog box ..." Click "ARCHIVE…" in the Add repository dialog box that appears ..." Click "Download" and select "adt-12.0.0.zip" from the context menu.
-
- Decompress the android SDK to the specified directory, such as D: \ Android-SDK, and run eclipse. Open "prferences" under "window" and click "android" on the left ", in the SDK location on the right, select the android SDK decompression path and click "OK ".
-
- In eclipse, open "Android and AVD manager" under "window", click "available packages" on the left, and select the android API of the desired version. Click "Install seleted" to download and install the android API. Then, compress the D: \ android-sdkdirectory to a file such as android-sdk.zip.
Offline Installation
Copy the pre-downloaded JDK, eclipse, and adtfile android-sdk.zip to a mobile media file, such as a USB flash drive, a mobile hard disk, or a CD.
On a computer that cannot access the Internet, perform Step 5 and Step 6 in the tutorial. Then, decompress android-sdk.zip to the specified directory. In eclipse, open "prferences" under "window" and set "SDK location" of Android to this directory. You can complete the offline installation of Android development tools.
The android development tool can be installed offline on any Windows computer that supports Android development using six files.