Eclipse builds Android development environment (installs adt,android4.4.2)

Source: Internet
Author: User
Tags android sdk manager

Using Eclipse for Android development requires that you first install the ADT (Android development Tools) plugin on eclipse.

1. Installing JDK 1.7

JDK official website http://www.oracle.com/technetwork/java/javase/downloads/index.html, download JDK7 software package, I install the 1.7.0_55 version. After installing the JDK, configure the next JDK environment.


2. Download Eclipse

Eclipse Official website: http://www.eclipse.org/downloads/, I downloaded the eclipse-java-kepler-sr2-win32.zip, extracted to their own directory can be used, no installation. Double-click Eclipse.exe to run.



3. Install the Android SDK

Go to official website: http://developer.android.com/sdk/index.html Download Adt-bundle-windows-x86-20140321.zip

This installation package includes the SDK and Eclipse, and the installation package comes with eclipse that can be developed directly from Android without configuration. Here, just use the Unpacked SDK folder to store the SDK in its own directory.



4. Install the ADT plugin for Eclipse, install it online

Launch Eclipse, click menu Help, Install New software ...


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

Then click Next, select the ADT and NDK plug-ins, choose the installation, the installation process is slow, you need to wait patiently.


Follow the prompts to restart eclipse when the step-by-step installation is complete. If you notice that the AVD Manager menu does not appear under the Window menu after a reboot, follow these steps:

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

I checked the Android-related options, such as the Android SDK manager and Android Virtual Device Manager menu under the Window menu.


Tick the Window menu item:



5. Create a virtual Android device

Click window->android virtual Device Manager, delete the system default virtual appliance in the popup dialog box, then click New to add, fill in the relevant parameters as shown in:


After adding a virtual Android device, click Start ... Start the Android virtual machine, the boot process is very slow, be sure to have patience ...


6. Create an Android project

File->new->other, select Android application Project as shown in

As prompted to create, I created the project called Androidtest, without making any changes to run directly.


7. Run the Android project

After the virtual machine starts up, and then runs the Android program, the interface after the virtual device is started is as follows:


To run the Android program method: Select the item, click the menu run, run as-1 adnroid application, wait for the virtual machine to run automatically, the successful interface is as follows:


So far, the Android development environment has been built!

Eclipse builds Android development environment (installs adt,android4.4.2)

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.