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:
http://kenai.com/downloads/nbandroid/updates.xml
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.