Both ADT and Android Studio development tools need to download the JDK. URL http:www.oracle.com/index.html.
After the installation is complete, go to computer → properties → advanced system settings → advanced → environment variables
Specific configuration method:
1. System variables → new java_home variable.
Variable value fill in the JDK installation directory (I am C:\Program files\java\jdk1.8.0_71 default path)
2. System variables → find Path variable → edit
Enter%java_home%\bin;%java_home%\jre\bin at the end of the variable value;
(Note that the original path of the variable value at the end of there is no; number, if not, first enter; number and then enter the above code)
3. System variables → new CLASSPATH variable
Variable values are filled in.; %java_home%\lib;%java_home%\lib\tools.jar (Note that there is a point in the front)
System Variable Configuration complete
4. Verify that the configuration is successfully run CMD input java-version (there are spaces between Java and-version)
General into ADT or Android studio will prompt you to update the SDK, direct use of the domestic image (with the SDK version may require VPN), here is not specifically described. Please do it by yourself Baidu.
I'm using ADT here, so let's take a look at the first item.
Is it easy to create an emulator or use an Android version of your phone to run?
Add a little bit of how to create a simulator
, click on that little phone
New
I've built a simulator like this right here.
Of course without Intel Atom (x86) There will be some minor changes in the arm.
Environment variable configuration for Android development