Eclipse Builds Android development environment (install adt,android4.4.2) _android

Source: Internet
Author: User
Tags android sdk manager

Using Eclipse for Android development, you need to first install the ADT (Android Development Tools) plug-in on Eclipse.

1. Install JDK 1.7

JDK Download: http://www.jb51.net/softs/75615.html, download JDK7 software package, I installed the 1.7.0_55 version. After installing the JDK, configure the JDK environment.

2. Download Eclipse

Eclipse Download: http://www.jb51.net/softs/75615.html, I downloaded the eclipse-java-kepler-sr2-win32.zip, unzipped to its own directory can be used without installation. Double-click Eclipse.exe to run.

3. Install the Android SDK

Android SDK Download: http://unity.jb51.net/soft/266.html download Adt-bundle-windows-x86-20140321.zip

The SDK and Eclipse are included in this installation package, and the installation package with its own eclipse can be developed directly on Android without configuration. Here, only use the Unpacked SDK folder to store the SDK in its own directory.


4. Install ADT plugin for Eclipse, install online

Start Eclipse, click menu Help-> Install New Software ...

In the pop-up menu, click Add, enter a name, and then type in the URL: http://dl-ssl.google.com/android/eclipse/

Then click Next, select ADT and NDK plug-in, choose to install it, the installation process is slow, need to wait patiently.
Following the prompts step-by-step installation completes, you are prompted to restart Eclipse. If the AVD Manager menu does not appear under the Window menu after reboot, follow these steps:

Window->customize perspective->command Groups availability->available Command groups-> tick the android SDK and AVD Manager

I've checked all the Android-related options, as shown below, so that the Windows menu has the Android SDK manager and the Android Virtual Device Manager menu.
Checked Window menu items:

5. Create a virtual Android device

Click window->android Virtual Device Manager, delete the system default virtual device in the pop-up dialog box, then click New to add, fill in the relevant parameters, as shown in the following figure:
After adding virtual Android devices, click Start ... Start the Android virtual machine, the startup process is very slow, be sure to have patience ...

6. Create an Android project

File->new->other, choose android Application Project, as shown in the following figure
As prompted to create, I created the project called Androidtest, did not make any changes, directly run.

7. Running the Android project

After the virtual machine is ready to start, and then run the Android program, the virtual device after the start of the interface is as follows:
To run the Android program: Select the item, click the menu run-> Run as-> 1 adnroid application, wait to automatically run in the virtual machine, run the successful interface as follows:
So far, the Android development environment has been built!

Original link: http://blog.csdn.net/zht666/article/details/29837777

The above is the entire content of this article, I hope to help you learn, but also hope that we support the cloud habitat community.

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.