Android Development Environment

Source: Internet
Author: User

Most learning videos using Android's development tool is eclipse, so I'll talk about eclipse build Android environment ( do not have Chinese in the path )

1. Install the JDK (note 32-bit or 64-bit)

After installing the JDK, you also need to configure the environment variables, which are configured in the system variables.

A.java_home: Installing the JDK directory (D:\MYPROGRAM\ECLIPSE\JDK)

B.classpath:.; %java_home%\lib\tools.jar;%java_home%\lib\dt.jar;%java_home%\bin; ( note : There is a point ahead)

C.path:%java_home%\bin;

Test installation succeeded: (ctrl+r) Open Black Window-"Enter cmd and then enter java-version (note there are spaces) enter

  

2 Installing Eclipse (note whether the computer is 32-bit or 64-bit)

3. Installing the SDK

Download ANDROID-SDK on Android developers and unzip to any path when download is complete.

A. Run SDK Setup.exe Select the SDK and its documentation or other packages that you want to install, click Installation Selected, Accept All, install Accepted, and start downloading and installing the selected package. (In this can go to sleep, very big, very slow). Finally, the new path value in the user variable is: the tools absolute Path (D:\myprogram\eclipse\android-sdk_r24.1.2-windows\android-sdk-windows) in the Android SDK. The structure in this directory looks like this.

Test whether the installation was successful: (CTRL+R) Open the Black Window-"Enter cmd and then enter Android-h return

4. Installing ADT

is divided into online and offline installation ADT (online to access Google, it may not be accessible)

Teach everyone to install ADT offline:

A. Download the ADT installation package first

B. Open eclipse--"Help-->install New Software

      • Click Add ... button, pop-up dialog asks to enter name and location:name yourself, point archive ... Enter your own good ADT compression package

      • When OK returns, select the ADT we just added in the drop-down list after work with, and we'll see the developer Tools below that expand it will have Android Ddms and Android development Tool, tick them.

    • Now the computer put it in a disconnected state, or the progress bar will not move
    • Then just follow the prompts step by step next.
    • C. Select Window > Preferences ...
      • On the left panel select Android, then on the right click Browse ... and check the SDK path (D:\myprogram\eclipse\android-sdk_r24.1.2-windows\android-sdk-windows)
      • Click Apply, OK. Configuration is complete.

Android Development 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.