Android Environment Installation and configuration

Source: Internet
Author: User

Download the JDK for your current system directly from the Web (eclipse requires an environment for a Java virtual device)

Download the latest adt-bundle-windows-x86-xxxxxx.zip (integrated eclipse plus ADT Plus SDK) directly from Android

Started the installation and configuration of the environment:

1, install the JDK, record the installation path, and then configure the environment variables to use

2. Installation complete, my Computer-right-click Properties-Advanced system settings-environment variables

3. New system variable, variable name: java_home, Variable value: C:\Program files\java\jdk1.7.0_65 (JDK installation path)

4. Modify the System variables (add paths after path), variable name: path, variable value:;%java_home%\bin;%java_home%\jre\bin

5. New system variable, variable name: CLASSPATH, Variable value:.; %java_home%\lib;%java_home%\lib\tools.jar ( Note: Be sure to add. Indicates the current path )

6, in the command line test, whether the configuration ok, cmd input java,javac,java-version (with content input, not prompt not internal or external command can be)

Note: When the cmd Command window is opened in the configuration process, Java and java-version may appear, but Javac is not possible, the CMD window will be turned off again.

Then unzip the Adt-bundle directly, then open the inside of the Eclipse.exe (added to the Start menu more convenient), you can start the Android programming tour

Of course, it would be more convenient to complete the next environment variable configuration (Configure the ADB environment variable):

1. Modify the System variables (add paths after path), variable name: path, variable value: D:\Program files\adt-bundle-windows-x86-20130717\sdk\ Platform-tools (folder path where Adb.exe is located)

Done!!

Related Article

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.