How to setup Netbeans for Android development
When Google released the Android open mobile platform, they have made an Eclipse plugin to be able to develop Android software using the Eclipse IDE. If you’re a Netbeans user, don’t worry because you can use Netbeans for creating Android applications also. Several guys created a Netbeans plugin that makes it possible to do Android software development under Netbeans.

To start setting up Android development under Netbeans, just open up your Netbeans 6.5 IDE. After starting up, click on the Tools | Plugin from the menu and select the Settings tab from the dialog box. Click on the Add button and enter the Name of the plugin and update URL for the plugin your are manually adding. You can put any text for the Name field, the plugin update URL for the Android for Netbeans plugin is http://kenai.com/downloads/nbandroid/updates.xml .
Update: New update url for downloading the plugin is now http://kenai.com/downloads/nbandroid/updatecenter/updates.xml – Thanks pop.

After clicking on Ok, it should now be included in the list of configured update centers.

Go to the “Availalble Plugins” tab and you should see Android in the list. Click on the checkbox to mark it for installation. Then click the “Ok” button.

You’ll get a dialog box similar to the one below informing you that the Android plugin will be installed. Click on the “Next” button.

The license agreement will be displayed. You need to agree to to install the Android plugin. Click on the “Install” button once you have clicked on the “I accept..” checkbox.

It should start download the Android plugin.

After the download, you’ll get a message similar to the one below. It basically says that the plugin hasn’t been signed by the Netbeans group. This serves as a warning for potentially dangerous plugins. If you trust the developers of the plugin, just click on the “Continue” button.

After which, you should get an “Installation completed successfully” message.

Now that the Android plugin for Netbeans has been installed, you need to do just one more step to configure it. You need to tell Netbeans that it can now also setup projects for the Android open mobile platform. To do this, click on the Tools | Java Platform menu of your Netbeans IDE.

Click on the “Add Platform” button. Select the “Google Android Open Handheld Platform” and click the “Next” button.

Now locate where you have extracted the Android SDK on your computer and click “Next”.

Give the platform a name. I think “Android” would be appropriate and click on the “Finish” button.

You should now have added Android in your list of supported platforms for the Netbeans IDE.

That’s it. You can now start developing Android applications using your Netbeans IDE. I’ll post about writing an Android application in Netbeans next time.






















After doing all I just cant find android when i start a new project.please help
thank you very very very very very very much!~~~~~~~~
I really need it.
After Selecting the platform and clicking on “Finish” the platform is NOT added to the list.
why???
please Help me. thanks
im use.
netbeans 6.9.1
nbandroid-0.11
Thanks man, without you i would you have been dead…
I just downloaded Netbeans 6.9 with a view to getting started with some android development. However, I found that I could not get past adding the platform folder in the wizard. Just realised what the problem was though, I did not have the Java ME enabled in the plug ins, once I did that I was able to complete the wizard.
Anyway thought this might help somebody, in hindsight it seems obvious but I had overlooked it!
This guide works, even on Netbeans 6.9.1 but when adding the platform you have to choose the root of the SDK – just like in the guide.
When pressing next, netbeans kept on incisting that no platform had been chosen, so a shutdown and reopening of netbeans fixxed this, and everthing went smooth after that.
This was done on a Macbook Pro.
Thanks for the guide. Very helpfull.
thanks a bunch….
Thanx for the introduction.
Can anybody tell me how to include the DOCs into Netbeans IDE. For other platforms NetBeans has the option to include JavaDocs, but for the Android-Platform this option is not available (don’t know why). Since developing with NetBeans and available JavaDoc is very comfortable I would like to use this for Android too.
Thanks for any help!
update url for download plugin
http://kenai.com/downloads/nbandroid/updatecenter/updates.xml
the update center is changed
To
http://kenai.com/downloads/nbandroid/updatecenter/updates.xml
Updated. Thanks shareef
I am working with netBeans 6.9.1.
I could install android plugin,
but when I tried to add platform, there was no option
“Google Android Open Handheld”, and no platform was found in Android sdk folders. Somebody has the answer?
I can’t see “Google Android Open Handheld Platform” In add platform.
Netbeans 7.0
NBAndroid 1.0
plz help me
i got same problem with akshit,
anybody pliz help us,,
>__<
I’ve got the same problem as Akshit on Netbeans 7.0. Anyone solved this?
This article is out of date now. Please take a look at http://www.nbandroid.org/p/installation.html
While the beginning here is mostly OK (autoupdate setup if you use current URL) the rest dealing with Java platform is obsolete. The whole concept is abandoned a new new version. Just set up Android SDK location in Tools | Options | Misc | Android and you are ready to go.
I believe we need to activate installed plugins (i’m using netbeans 7.0.1) and previously i have not activated user installed plugins yet and i can’t see new android project. but after i activated it, i can now build one
Basically, the installation process was changed and the “platform” concept was scrapped. So follow the instructions for installing the nbandroid, found here:
http://kenai.com/projects/nbandroid/pages/Intro
They work, as of today, for:
Netbeans 7.0.1
NBAndroid
I have just downloaded the required plugins for Andriod development.
Everything went on successfully however when it came to add the Andriod plat, i had no option for it listed, I am using Netbeans version 7.0.1.
Need help!!
NetBeans 7.0.1, after installing android, I cannot see the plat form options either, can anyone please respond?
Thanks
I am working with netbeans 6.9.1
I could install android plugin,
but when I tried to add platform, there was no option
“Google Android Open Handheld”, and no platform was found in Android sdk folders.
what I must do to fix it??????