Eclipse and Netbeans: Setting the Developement Environment for Android Applications

Page content

The Google Android platform, offers us a easy and quick way to develop applications for mobile devices. The Google Android web page contains lots of useful information about Android architecture, libraries and source codes. First of all, let’s start with the tools we will need to start developing our own Android applications. This page will be our reference page to get all the stuff we need:

We have some tools we can choose to work with for developing Android apps, we can use Eclipse or Netbeans. Both of them are free good IDEs to work with, but we are going to use Eclipse, because its plug-in for Android is more mature than the Netbeans one.

Android SDK

We will need another tool to work with Android. This tool is called the SDK (Software Development Kit), once we have downloaded it and placed it somewhere on the computer (C:/Android/SDK if we are in Windows, for example, or ./home/jbeer/Android/SDK if we use a *nix system). We have to remember where we have placed the SDK, in the next steps we will have to enter the path in the Eclipse/Netbeans environment.


Once we have placed the SDK we will need the Android plug-in for Eclipse. Depending on the version of Eclipse it will be done in a different way:

For Ganymede version:

  • Start Eclipse.
  • In the Menu, select “Help” and then “Software Updates”.
  • In the new pop-up window, push the button “Add site … " and enter the following address and click Ok:

  • Once this is done, you have to go back to the Updates and Add ons menu. The location we have entered before should appear, click on it, check the “Developer Tools” and click Install.
  • Follow the steps to install the plugin.

For Europa version

  • Start Eclipse
  • In the Menu, select “Help” , “Software Updates” and then “Find and Install”.
  • Click on New Remote Site
  • In the new pop-up window, inset a name for the plugging (Android, p.e), and enter its location and click Ok:

  • One this is done, the new site should appear in the Add ons list. Click on it and check both “Android Developer Tools” and “Android Editor”.
  • Follow the steps to install the plugin.

Hint: If the doest work try “http” instead of “https”.

Once we have installed the Eclipse plugin we have to restart the IDE. Now, it’s time to point to the plug-in where the SDK is in our system.

In the Menu, “Window”, select “Preferences”. Select Android from the left panel, click the “Browse” button and locate the SDK directory in your computer, then click OK.

Now we are able to create Android applications on our Eclipse IDE.


If we want to work with Netbeans, we have to download the IDE and install it. Once this is done, the next step is to download the Android plug-in for Netbeans, now called nbandroid.

The best way to install this plug-in, is using the Update Center of Netbeans. In the Menu, enter in “Tools” and then in “Plugins”. Here you will be shown a list with all the available plug-ins for Netbeans. We want to add our Android plug-in. For that we have to press “Add” in the settings Tab, and enter the following location:

Now the plug-in will be available to install.

After installing the Android plug-in, now it’s time to Add the Android platform to our Netbeans. In the Menu, “Tools” enter in “Java Platforms” and click in the “Add Platform…” button. Here we will find the “Google Android Platform”. In the next window we have to enter the new platform name (Android Platform, p.e) and the location of the SDK in the computer.

Once this is done, we are able to create Android apps in our Netbeans.

Want more?

In further articles I will show you how to develop an entire application.

Follow up

If you want to know when new articles are released, subscribe yourself to the Google Android RSS

Otherwise, you can follow my research, articles and work in my profesional twitter: jbeerdev

This post is part of the series: How to- Develop Applications on Android

In this series of articles, I will explain how to develop your own application for Android, from the beginning.

  1. Setting the Environment: Using Eclipse and Netbeans for Developing Google Android Apps
  2. How to Create an Android Application: Structure I
  3. How Do I Develop an Android Application? Structure II
  4. How to Create User Interfaces (UI) Using XML : Layouts
  5. How to Create a User Interface (UI) Using XML : Widgets