Setting Up Android Development Environment Using Eclipse


Android Development Tools (ADT) is a plug-in for the Eclipse IDE that is designed to give you a powerful, integrated environment in which to build Android applications.

ADT extends the capabilities of Eclipse to let you quickly set up new Android projects, create an application UI, add components based on the Android Framework API, debug your applications using the Android SDK tools, and even export signed (or unsigned) APKs in order to distribute your application.

Developing in Eclipse with ADT is highly recommended and is the fastest way to get started. With the guided project setup it provides, as well as tools integration, custom XML editors, and debug output pane, ADT gives you an incredible boost in developing Android applications.

The sections below provide instructions on how to download and install ADT into your Eclipse environment.

Preparing Your Development Computer

ADT is a plug-in for the Eclipse IDE. Before you can install or use ADT, you must have a compatible version of Eclipse installed on your development computer.

If Eclipse is already installed on your computer, make sure that you have Eclipse 3.4 (Ganymede) or 3.5 (Galileo) version that is compatible with ADT and the Android SDK.

For Fresh installation, You can also download Eclipse 3.4 (Ganymede) or 3.5 (Galileo) from following location : http://www.eclipse.org/downloads/

A Java or RCP version of Eclipse 3.4+ is recommended.

Additionally, before you can configure or use ADT, you must install the Android SDK starter package. Android SDK starter package can be downloaded from here. Once SDK is downloaded, extract it in specific directory in your system.

When your Eclipse 3.5 ( Galileo) and Android SDK environments are ready, continue with the ADT installation as described in the steps below :

  • Start Eclipse, then select Help > Install New Software.
  • In the Available Software dialog, click Add….
  • In the Add Site dialog that appears, enter a name for the remote site (for example, “Android Plug-in Site”) in the “Name” field.In the “Location” field, enter this URL:¬† https://dl-ssl.google.com/android/eclipse/ then Click OK.
  • Back in the Available Software view, you should now see “Developer Tools” added to the list. Select the checkbox next to Developer Tools, which will automatically select the nested tools Android DDMS and Android Development Tools. Click Next.
  • In the resulting Install Details dialog, the Android DDMS and Android Development Tools features are listed. Click Next to read and accept the license agreement and install any dependencies, then click Finish.
  • Restart Eclipse.
  • Configuring the ADT Plugin

    Once you’ve successfully downloaded ADT as described above, the next step is to modify your ADT preferences in Eclipse to point to the Android SDK directory:

    1. Select Window > Preferences… to open the Preferences panel.
    2. Select Android from the left panel.
    3. For the SDK Location in the main panel, click Browse… and locate your downloaded SDK directory.
    4. Click Apply, then OK.

    And its Done!!!!!!!!!!!!!!!

    Advertisements

    4 comments on “Setting Up Android Development Environment Using Eclipse

      • Hi,

        I think, there is some problem on the google server :(. However I have configured it using the same url for my development environment & It works fine.

        Will update you if the issue is resolved.

    1. hi:
      the url is not meant to be opened in the regular browsers .
      so if you open it, you will get the error 404 mean while if you open it with eclipse through the update channel it will work like a charm, unless if your in a country where your banded from using the service like ‘ syria ‘ .

      any way thanks for your nice how to ..

      regards

    2. Pingback: 2010 in review « LAMP Ville

    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 )

    Twitter picture

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

    Facebook photo

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

    Google+ photo

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

    Connecting to %s