How to setup Android for Eclipse IDE.

In this article, you will learn what software is necessary to run an Android application in Eclipse IDE. Here, you can learn how to install the Android SDK and the ADT plug-in for Eclipse IDE. Let’s see the list of software required to configure Android for eclipse IDE manually.

  • Install the JDK.
  • Download and install Eclipse to develop Android applications.
  • Download and install the Android SDK.
  • Install the ADT plug-in for the eclipse.
  • Configure the ADT plug-in.
  • Create AVD.
  • Create the hello android application.

1) Install the Java Development Kit (JDK).

To create an Android application, JDK must be installed if you are developing the Android application with Java language. download the JDK.

2) Download and install the Eclipse IDE.

To develop the Android application with eclipse IDE, you must install Eclipse. You can install it from this location install Eclipse.

The classic version of Eclipse is recommended, but we are using the Eclipse IDE for JavaEE developers.

Read also: The 5 best IDEs for Android application development.

3) Download and install the Android SDK.

First, download the Android SDK. In this example, we have installed the Android SDK for Windows (version .exe).

if you to be installed, then double click on the exe file. I am using Android version 2.2 here

4) Download the ADT plug-in for the eclipse.

ADT (Android Development Tools) is required to develop the Android application in the IDE eclipse. It is a plugin for Eclipse IDE (integrated development environment) designed to provide an integrated environment.

To download the ADT, you must follow these steps:

1) Start the IDE eclipse, then select Help> Install new software …

2) In the combo workbox, type https://dl-ssl.google.com/android/eclipse/

Android

3) Select the checkbox next to Developer Tools and click on Next.

4) You will see a list of tools to download here, click Next.

5) click finish.

6) After completing the installation, restart the IDE eclipse.

5) ADT plug-in configuration.

After installing the ADT plug-in, now indicate the IDE eclipse for your Android SDK location. To do it:

  • Select the menu Window> preferences.
  • Now select the Android from the left panel. Here you can see a dialog box asking if you want to send the statistics to Google. Click continue.
  • Click the Browse button and find your SDK directory,e.g. My location of the SDK is C: \ Program Files \ Android \ android-SDK.
  • Click on the Apply button and then OK.

6) Create an Android virtual device (AVD).

To run the Android application in the Android emulator, you must create an AVD. To create the AVD:

  • Select the Window menu> AVD Administrator.
  • Click on the new button to make the Android Virtual Device.
  • Now a dialog box appears, type the name AVD, such as myavd. Now choose the target Android version, for example, android2.2.
  • click create AVD.

7) create and run the simple Android example.

Visit the following page to create the first Android application.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at WordPress.com.

Up ↑

Create your website with WordPress.com
Get started
%d bloggers like this: