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