Note: The computer is a Windows XP system
1. Install JDK and environment variable settings
JDK is Java development Kit,java JDK
Http://www.oracle.com/technetwork/java/javase/downloads/index.html
Originally to use JDK8 directly, but in the installation of Jdk-8u5-windows-i586.exe, the error Pop-up dialog box:
Figure 1
Or just change it back. Using JDK7, install JDK Two installation prompts appear during installation of the installation directory. The first time is to install the JDK, such as:
Figure 2
After the first step is completed, the second step of installing the JRE is followed automatically, such as:
Figure 3
Recommended two are installed in a different folder in the same Java folder (cannot be installed in the Java folder root directory, JDK and JRE installed in the same folder will be error). After installing the JRE, the following dialog box pops up:
Figure 4
Originally wanted to click on "Next Steps" to access the tutorial, but the middle of the early Tang Dynasty error information, can only temporarily closed.
After the installation is complete, you need to set environment variables, right-click My Computer, click Properties, Advanced Environment variables:
(1) Creating Java_home environment variables
Under System environment variables, select New java_home=d:\java\jdk1.7.0_55, such as:
Figure 5
(2) Path variable modification
The path variable is found in the system variable, and the new%java_home%\bin;%java_home%\jre\bin is added in the last face;
Figure 6
(3) Classpath variable modification
The system variable classpathis created in the same way, the variable is named classpath, and the value of the variable is:
.; %java_home%\lib;%java_home%\lib\tools.jar (Note the beginning of the. and;)
After setting the environment variable, confirm the installation and setup by command java–version, such as:
Figure 7
As shown
2. Install Android Sudio
Android Studio:
Http://developer.android.com/sdk/installing/studio.html#Updating
The installation is always next to OK.
Reference links
Chapter One andriod Studio installation and environment construction
Http://blog.csdn.net/zhanghefu/article/details/9286123
Build your development environment with Android Studio
Http://mobile.51cto.com/abased-430392.htm
Build Android app development environment based on Android studio