Environment variable configuration for Android development

Source: Internet
Author: User

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

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.