Build an android compiling environment based on Windows (x86) operating system .....

Source: Internet
Author: User

For beginners of Android, it is important to establish a development environment for Android, because it is the basis for Android Application software development. However, for various reasons, the four major software that builds the android development environment makes it difficult for us to download the software from the official website, which makes it inconvenient for us to learn. Below, I will sort out the four major software as follows, hoping to help you learn android.

1. Java JDK

Java SE Development Kit 6u31 for Windows, multi-language or the latest Java SE 7u3 version

: Http://www.oracle.com/technetwork/java/javase/downloads/index.html

Note: The installation steps of Java JDK are silly. If you have no requirements during installation, you can choose "Next.


2. Eclipse

Eclipse IDE for Java developers

: Http://www.eclipse.org/downloads/

Note: Because eclipse is an installation-free file, you only need to extract it to the desired folder. You only need to double-click eclipse.exe in the folder behind the folder to perform initial settings for eclipse.

3. ADT

ADT 16.0.1

: Http://developer.android.com/sdk/eclipse-adt.html

Note: After downloading the ADT, you do not need to decompress the ADT.Eclipse andADTProceedConnectionThe procedure is as follows:Open eclipse, Select"Help → install
New software, select Add To Go To The add repository form, select archive, and selectADTThe storage location on your computer is complete.Eclipse andADT.


4,Android SDK

Android SDK

: Http://developer.android.com/sdk/index.html

Note:Androidsdk is the sameEclipseSame,Developers only need to decompress it to their desired folder. Specific,Follow these steps to connect eclipse to androidsdk:Eclipse, Select"Windows → preferences ", inPreferencesForm SDK
Enter android in location
The SDK is saved.Connection between eclipse and androidsdk.


Note: Please build the development environment in the above Order.

It is worth noting that,After successfully installing the above four software, the user must set six environmental variables of the computer,The details are as follows:(Note: When configuring environment variables, developers can chooseSelect "system variables" or "User variables. We recommend that you select "system variables" because, even if you switchWindowsUser, this configuration about environment variables still takes effect.)

1. java_home

Java_home = c: \ Program
Files \ Java \ jdk1.6.0 _ 24

2. java_jre_home

Java_jre_home = c: \ Program
Files \ Java \ jdk1.6.0 _ 24 \ JRE

3. jre_home

Jre_home = c: \ Program
Files \ Java \ jre6

4. android_sdk_home

Android_sdk_home = D: \ My
Program \ Android-SDK-Windows

5. classpath

Classpath = .; % java_home % \ Lib; % java_home % \ Lib \ tool. jar; % java_home % \ Lib \ DT. jar; % jre_home % \ Lib \ RT. jar; % java_jre_home % \ Lib \ RT. jar

6. Path

Path = % android_sdk_home % \ tools;% Android_sdk_home % \ platform-tools;% Java_home % \ bin; % jre_home % \ bin; % java_jre_home % \ bin

Through the above settings, our android compilation environment has been set up.

Note:In fact, after installing the above software, developers can configure the Java environment variables to develop the android program. However, for further development, we recommend that you configure all the preceding environment variables.

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.