The establishment of the netbeans environment mainly depends on the nbandroid plug-in. Project address:
Http://www.nbandroid.org/p/installation.html
Development machine: Windows 7
IDE: netbeans 7.3
Step 1: Install the plug-in
Start netbeans and click "add" on the tool> plug-in> Settings panel, as shown in:
Enter a name, URL fill: http://nbandroid.org/release72/updates/updates.xml if you are a version before 7.2, fill in: http://kenai.com/projects/nbandroid/downloads/download/updatecenter/updates.xml specific see the top nbandroid plug-in installation instructions page.
Click "OK". In "available plug-ins", you can see Android and nbandroid extensions, select, and click "Install". After the plug-in is completed, you can view it in the "installed" list.
Step 2: Set the android SDK path in netbeans
If you have not downloaded the SDK, you can directly click Download Android SDK to download it and decompress it to the C-drive root directory:
Step 3: Create an android Virtual Device
Open the netbeans tool AVD manager, as shown in:
Step 4: create the first Android Project
Create a new project and select Android-android project in the category, as shown in:
Click Finish. After the first project is created, run it to see the effect!
This article reference the http://www.cnblogs.com/qunyang/archive/2011/07/17/2108979.html in the original text on the basis of the latest configuration changes, thank you very much for the detailed steps of the original author!