Building an Android environment

Source: Internet
Author: User

The first step:

Ready to download sdk:http://developer.android.com/sdk/index.html:

Download for JDK: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

Downloads for eclipse: https://eclipse.org/downloads/;

Install the SDK,JDK first, all just the next installation complete and install the common software! And remember the installation of the path, for the future configuration of environment variables to prepare! The JDK is Java-dependent Runtime Environment SDK is the Android system development API, the Android system depends on the environment!

Step Two:

unzip the downloaded eclipse into a folder, mine is D:\Program\eclipse, open the Eclipse application to configure ADT Plugin:1, create a folder of your own project (workplace), When you start, choose the workplace! you set up. 2, go in and choose Help>install New software ... Click Add>local to locate the downloaded ADT Pressurized folder, enter ADT Plugin in name, enter http://dl-ssl.google.com/android/eclipse/ in Lacation OK, if you don't have the optional developer tools option in the Available Software dialog box, you'll need to c:/windows/system32/drivers/etc/ The host folder of the hosts is placed in:

203.208.46.146 www.google.com
203.208.46.146 dl.google.com
203.208.46.146 dl-ssl.google.com

Save the document, select the Developer Tools option in the Available Software dialog box, click Next, select Agree agreement, complete! Eclipse starts installing ADT plug-ins, and after installation, choose to restart the program! 3. The Welcome to Android Development dialog box will appear immediately, enter the path of the SDK installed in use existing location!

Step Three:

Configure the Environment:

    1. , right-click the Computer Point property
    2. Click Advanced System Variables
    3. Point "advanced", "Environment variable"
    4. New in System variables 1, Name: Java_home, Value: C:\Program files\java\jdk1.8.0_25\ (JDK installation location); 2, Name: Java_jre_home, Value:%java_home%\ JRE1.8.0_25;3, Name: Android_sdk_home, Value: d:\programl\android\android-sdk;4, Name: CLASSPATH, Value:.; %java_home%/lib;%java_home%/lib/tools.jar;%java_home%/lib/dt.jar;%jre_home%/lib;%jre_home%/lib/rt.jar;%java_ JRE_HOME%/LIB;%JAVA_JRE_HOME%/LIB/RT.JAR;5, Name: Path, Value:%android_sdk_home%/platform-tools;%android_sdk_home\tools ;%java_home%/bin;%jre_home%\bin;%java_jre_home%/bin; configuration Complete Click OK, last application!

Fourth Step:

Open the Eclipse-->window-->android SDK Manager;

Go to the Android SDK Manager dialog box. There's a tools-->options on the top. Tick the first option in the others. In which you select various Android versions, each version must select the Android document, SDK platform! Other can look at the choice, the best choice all! Then click Install installation to select the program! Wait for the installation to complete! (Normally one hours)

Fifth Step:

Open Eclipse-->window-->android virture Device Manager to create a simulator, create a run and start running, success is done!

Setting up an Android environment

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.