Android Development Environment Setup (Windows)

Source: Internet
Author: User

1. JDK Installation

Download the JDK on Oracle website (click I download) and add the following environment variable to the system variable, environment variable, properties---

the Java_home value is C:\Program files\java\jdk1.7.0_45, which is your JDK root directory

the Classpath value is .; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar;

The path value is ;%ant_home%\bin

Enter the java-version command under CMD to test whether the configuration was successful

2. Android Development Tools (ADT buddle) installation

Download ADT (click I download) on the Android developer website, which integrates with the new Eclipse and Android SDK and can be used after decompression. You can also add the Android SDK plugin under the installed Eclipse and don't repeat it here.

If you want to use the Android SDK (not required) in the command window, you need to add the following environment variables:

The path value is ; your Android SDK root directory \platform-tools; your Android SDK root directory \tools;

Enter the android-h command under CMD to test whether the configuration was successful

3. Apache Tomcat Installation

Go to the official website to download tomcat (click I download), after decompression configuration system variables are as follows

classpath value is ; C:\tomcat\lib\jsp-api.jar; C:\tomcat\lib\servlet.jar

Enter the startup command under CMD to test whether the configuration was successful

4.Apache Ant Installation

Download ant (Point me Download) and configure the system variables as follows:

The ant_home value is C:\ant, which is your ANT root directory

The PATH value is;%ant_home%\bin

Enter the ant-version command under CMD to test whether the configuration was successful

This is where the Android development environment is built.

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.