Android Development Environment (Eclipse + Android SDK) _android

Source: Internet
Author: User

This development environment is: Eclipse + Android SDK, sequence of instructions, no special requirements, see personal hobby

Step Description:

1. Install Eclipse

2. Configure JDK

3, install the Android SDK

4, install ADT, associated Eclipse and Android

Detailed Description:

1. Install Eclipse

* Download Eclipse (http://www.eclipse.org/downloads/) to the official web, I am the Eclipse IDE for Java EE developers download.

* Normal decompression installation, remember that the path can be

2. Configure JDK

* Set Java Path

Right-click on My Computer, select Properties, open the System Properties dialog box, click the Advanced tab, click the Environment Variables button, and in the Open dialog box, under System variables, click New, and then in the dialog box, fill in the variable name and java_home in the variable value To fill in Java JDK installation of the decompression path, point "OK

* Set class Path

Then "new" a system variable, fill in "Variable name" classpath, in "Variable value" fill in. %java_home%\lib;%java_home%\lib\tools.jar.

Description: The very beginning of.; In the. (point) that represents the current path,;(semicolon) is a path separator. The next%java_home% reference is the JAVA installation path that you just created earlier

* Set PATH Path

The path variable is generally available, so select Point "Edit" and then add it after "variable value";%java_home%\bin;%java_home%\jre\bin, note the semicolon above

* This way, the JDK is well installed. "Start-> Run", enter cmd, and then enter at the command prompt: Java-version, you should be able to see Java version "1.6.0_20″ information;" JDK installed successfully

3, install the Android SDK

* I am directly on the Web site to download the SDK management tool http://www.android100.org/html/201207/12/1149.html, select the SDK Setup tool---The old version of the SDK automatic upgrade tool

* After decompression, run the SDK Manager directly, will automatically detect whether the installation, upgrade, etc.

* After running the sync upgrade and installation, you will be prompted for a successful synchronization update

* Set Android Path

Repeat the first step (1), create a new "system variable", fill in the "Variable name" android_home (no problem with case), add the "variable value" to the Android unpack the road strength

* Set PATH Path

Edit the path variable, followed by the variable value,%android_home%\tools, and note the preceding semicolon.

This way, the Android SDK 1.6 is installed. "Start-> Run", enter cmd, and then enter at the command prompt: Android-help, you should be able to see help information; Android SDK 1.6 Installation Successful

4, install ADT, associated Eclipse and Android

* Download ADT Plugin 8.0.0 http://www.android100.org/html/201207/12/1149.html on the website

* Run Eclipse, click the menu "Help-> Install New Software ...", Open the Install dialog box, click Add ... button, add sites (add site), fill in the name of ADT, in the location to select the ADT Plugin 8.0.0 Road, there is a zip file, add in on it, click OK can be installed locally

* Associated adnroid SDK: Menu "Windows->preferences", open Preferences dialog, click Android, on the right-hand side of the Android reference, point SDK Location text box to the right of the browse ... button to locate the unpacked directory for the Android SDK, "OK"

Well, if you see this place and everything is working, then congratulations, your development environment has been successfully configured.

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.