So you want to do Android development but you hate Eclipse? Well fear not, there is another IDE that you can use to meet your mobile development needs. This is a quick guide, mostly for my reference later, on how to setup an Android development environment in Netbeans.
1. Download and install the Android SDK and Netbeans IDE like normal
Pretty self-explanatory just grab the installers from here and here respectively.
2. Download and install the Android plugin for Netbeans
The plugin to use is nbandroid and the easiest way to get it is to download it from right within Netbeans. First add the update xml (http://kenai.com/projects/nbandroid/downloads/download/updatecenter/updates.xml) to Netbeans.
Then simply install the plugin from the refreshed list of available ones.
3. Create an Android project
Just like you would create any other project in Netbeans. This will prompt you that you need to set up the location of the SDK. This can be done through the Manage Android SDK button.
Once created the project should be more or less good to go. Don’t worry if you get an error about a missing file R.java, this file will be automatically generated for your when you build the project the first time.
4. Profit?
That’s pretty much it. Now when you click run it will build and deploy your application to the emulator just like it does in regular old Eclipse.
Originally posted on my personal website here.
i added the link http://kenai.com/projects/nbandroid/downloads/download/updatecenter/updates.xml to netbeans update centres. but still the available plugins do not display android. In fact, when I added the link, netbeans tried to connect to it and keeps giving timeout error. i tried it many times at different time but the result is the same. where am i going wrong
Try this instead
http://nbandroid.org/release72/updates/updates.xml