Installation using AutoUpdate centerNetBeans AutoUpdate is the best approach to install NBAndroid plugin into your IDE.
It install everything and also provides a way how to keep it uptodate.
You will need NetBeans 7.2 or newer installed.
Add updatecenter URL to plugin managerOpen plugin manager. To do this go to
Tools | Plugins. Here you need to navigate to
Settingstab and add an address of our update center that is
- http://nbandroid.org/release72/updates/updates.xml if you run NetBeans 7.2 or newer
- Previous update center at http://kenai.com/projects/nbandroid/downloads/download/updatecenter/updates.xml is removed now as it caused confusion about current version and what is supported and what not.
Install the pluginOnce the URL is added navigate to
Available Pluginstab in the same dialog. Find Android plugin here and select it for installation. Optionally you can install NBAndroid Extenstions as well to get some extra functionality. Note that subscription is required to enable features provided by NBAndroid Extensions.
Installto initiate the installation. Shortly after you will be guided through a series of steps: 1. to confirm selection of plugins to install
Installation from downloadable archiveThis is an alternative useful if you cannot connect to our download area directly from IDE.
Download a snapshot of project binaries from archives folder. Then go to
Tools | Plugins | Downloadedand add NBM files from unzipped archive. The rest is the same as described above.
What's next?Most of the functionality in Android support requires a path to Android SDK to be configured.
Tools | Optionsdialog and its
Miscellaneouscategory. Here you will find
Androidtab where you can specify the location of Android SDK.
If you've installed NBAndroid Extensions you need to upload subscription key in this dialog to activate the functionality.
That's all what you need to configure at the beginning and you are ready to open your existing project or create a new one.
Specifically note that there is no Java platform definition needed or possible. This concept was abandoned a while ago yet there are still some pages and outdated tutorials mentioning this.