Configuration of Eclipse and Android environment variables

Source: Internet
Author: User

1. Installing the JDK (64-bit)

2. Set the environment variable java_home to the JDK installation directory
For example, if the JDK is installed to the C:\Program files\java\jdk1.8.0_73\ directory, the Java_home is set to C:\Program files\java\jdk1.8.0_73\
Environment variables recommended in user variables, try not to set in system variables

3. Add the%java_home%\bin directory to the environment variable path
Note: The previous value (if any) should be written between '; ' Semicolon

4. Start the command line (CMD) to ensure that the JAVAC program can execute

5. Unzip the Eclipse_64.rar and Sdk.rar to the custom Android development directory (e.g. D:\android_development directory), i.e.
Eclipse Directory is d:\android_development\eclipse_64
The SDK directory is D:\ANDROID_DEVELOPMENT\SDK
Note: Android Development directory try not to have space, try not to have Chinese

6. Set the environment variable android_sdk_home to the above SDK directory
For example, the Android development directory is d:\android_development directory, then set Android_sdk_home to D:\android_development\sdk

7. Add the%android_sdk_home%\tools and%android_sdk_home%\platform-tools directories in the environment variable path
Note that each value is directly written on '; ' Semicolon as delimiter
...; %android_sdk_home%\tools;%android_sdk_home%\platform-tools

8. Start the command line (CMD) to ensure that the ADB program and the emulator program can execute

9. When launching Eclipse, it is recommended to add the-clean command to clean up the cache. That
D:\android_development\eclipse.exe-clean

10. Launch the SDK to bring the simulator, or install the night God Simulator (NOx), or connect the phone

Configuration of Eclipse and Android environment variables

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.