How to build an android environment offline

Source: Internet
Author: User

(Note: I have this article on my Baidu blog, but I copied it, but the installation link is Baidu. If the image cannot be viewed, visit my blog directly:

Http://hi.baidu.com/freeskyok)

How to build an android environment offline

Recently, I have suddenly become interested in Android programming. Most of the android environments I set up on the Forum are similar, but they must be connected to the Internet. How to Set up the environment where the Internet access is inconvenient, but no satisfactory answer is found. After two days of exploration, I finally figured out how to build the android environment in the Offline state and started from scratch.

1. Download Software

1.1 JDK environment support software jdk-6u20-windows-i586, license.

Page:

1.2 eclipse-java-europa-winter-win32 this file: http://download.actuatechina.com/eclipse/technology/epp/downloads/release/europa/winter/eclipse-java-europa-winter-win32.zip

1.3 Android-SDK package download, android-sdk_r06-windows this file is installed online application, address is: vivo SDK 2.1r1 (Java SDK) is: ssl.google.com/android/repository/android-2.20.r01-windows.zip

1.4 ADT-0.9.7 a plug-in package, contains a simulator and other tools: http://dl.google.com/android/ADT-0.9.7.zip

2 Software Installation

2.1 install the JDK package, click setup, and click "Next.

2.2 eclips installation, decompress it to a specified directory, skip it.

2.3 Android-SDK installation, first extract the android-sdk_r06-windows file to a directory such as C disk Android, then the directory structure is C: /Android-SDK-Windows/unzip/android-2.1_r01-windows.zip to the C:/Android-SDK-Windows/platforms directory, this step is crucial, I just don't know how to make a lot of detours.

2.4 for the installation of adt-0.9.7, the following dialog box is displayed:

Note: select the option in the red box. The first option is selected by default. Click next and the following page is displayed:


Click the button in the red box to show the dialog box of the selected compressed file. After you select the downloaded adt-0.9.7.zip file, the confirmation dialog box is displayed, but the dialog box is changed, for example, marked in the red box,


Click "finish" to bring up the following dialog box:


Click the button shown in the red box, and then click Next. The following dialog box is displayed:


Click the options in the red box and click "Next". The following dialog box is displayed:


Click "finish". The following dialog box is displayed:


Click the "Install all" button, and the installation screen will pop up as follows:


We recommend that you restart the eclipse program and click "yes" to restart the program.

At this time, the most important part is successfully installed. Go to the main eclipse software interface after the restart and open the corresponding items in the order of "window =" preference "on the menu. The following interface is displayed:

Remove the check mark in "Send usage statistics to Goole", or this dialog box will be displayed each time, and then click "proceed. Select the "android" item shown in the red box and click "Browser" as shown in. Select the folder where the SDK is located.


Select the C:/Android-SDK-Windows folder (the directory of the extracted android-sdk_r06-windows), and then click the "OK" button.

2.5 configure AVD

Menu = Window = Android SDK and AVD manager. A dialog box is displayed:


Click the button shown in the red box to bring up the following dialog box:


Write any name in the name column. The second red box can only be selected. If you install multiple SDK packages, you can select the desired package. Click "create AVD.

Now that the android environment has been set up, we will not go into details about path setting and other tutorials. For details about how to create the "Hello World" program later, see other tutorials. Show you a link: http://www.androidin.net/bbs/viewthread.php? Tid = 89618 & Highlight = Android % E7 % 8e % af % E5 % A2 % 83% E6 % 90% ad % E5 % BB % Ba % EF % BC % 8C % E7 % 89% e6 % 9C % AC % E6 % 9C % 89% E7 % 82% B9 % E4 % BD % 8e.

OK! I wish you a pleasant installation and a pleasant use. If the installation is successful, can you?

 

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.