This tutorial will help you to set up Android SDK in Netbeans, for this I have used Netbeans 7.0. I you have not installed netbeans just go to this link and get this installed right now.Once you have done this installation just follow the below simple steps to configure Android SDK to it.
Step 1: Configure Android plugin in Netbeans
Step 2: Configure Android SDK in Netbeans
Configure Android plugin in Netbeans
- Open Netbeans and go to Tools -> Plugins -> Settings, now you can see the below window and click Add button at the bottom right. It will take you to another window.
- Give any provider name you wish but the URL given here http://kenai.com/projects/nbandroid/downloads/download/updatecenter/updates.xmland click OK.It will check for some updates and add Android to the list.
- Now go to Available plugins tab you can see the Name provided above (“Android”) in the list as shown below.Click the check box in the left and select install at the bottom. We are about to install Android plugin into Netbeans, just go ahead and click next, accept the license agreement and proceed; you could see the plugin is being downloaded.Then click Continue in Verify certificate screen, now you plugin should have got installed now click Finish.
- We can see increase in number of options at the top as well in Tools link. Then we are correct we have finally configured Android plugin into Netbeans.
Configure Android SDK in Netbeans
If you have not configured Android SDK, just go to this link and configure it first.
- Once done with the above steps, go to Tools -> Android SDK and AVD Manager, a pop up will appear click OK, below screen will appear.
- Select Browse and locate Android SDK path as shown below and Open and OK in the previous window. Now you have configured Android SDK in Netbeans. To validate your configuration proceed with next step.
- Go to Tools -> Android SDK and AVD Manager, now you could see a different window, as shown below. It indicates that SDK platform corresponding to different OS versions has been installed. Other packages can be downloaded and installed based on developer’s choice by selecting the check box and installing packages by using the bottom.Finally we have come to the end of Android SDK configuration in Netbeans, next post will help you to run a sample program in Netbeans.