Build an Android development environment

Source: Internet
Author: User

Android First step: Install JDK.

To download the Oracle Company's JDK, Baidu "JDK" can enter Oracle's JDK download page and select the corresponding version of its own computer system.

Step Two: Configure the variable environment for the JDK on Windows

Java_home

Set this system variable name first, the variable value is the JDK on the computer installation path: C:\Program files\java\jdk1.8.0_20. Once created, you can use%java_home% as the unified Reference path for the JDK installation directory.

Path

The Path property already exists, can be edited directly, appended with the original variable:;%java_home%\bin;%java_home%\jre\bin.

CLASSPATH

Set the system variable name to: CLASSPATH variable value is:.; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar.

Note the variable value string is preceded by a "." Represents the current directory, the purpose of setting up classpath is to tell the Java execution Environment, in which directories you can find the classes or packages that you need to execute the Java program.

Step three: Download and install Eclipse (uploaded attachment, pc open to download).

Eclipse is an IDE (integrated development environment) developed for Java applications and Android. Eclipse does not need to be installed, after the download unzip the package, cut the Eclipse folder to the place where you want to install, open when you set up your working directory.

Fourth step: Download and install the Android SDK.

With the JDK variable environment configured and eclipse installed, the Java development environment is ready if you are just developing a common Java application. We're going to develop Android apps through eclipse, so we need to download the Android SDK (software development Kit) and install the ADT plugin in Eclipse, which lets Eclipse and Android SDK to associate.

Fifth step: Install the ADT plugin for Eclipse.

The Java development environment has been configured, the IDE for Android has been installed, the Android SDK has been downloaded, but Eclipse has not been associated with the Android SDK, which is now independent of each other, as if the gun and the bullet were separated. To make Android apps easier to create, run, and debug, Android's development team specifically customized a plugin for the Eclipse IDE: Android Development Tools (ADT).

Build an Android development environment

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.