In this article we are going to focus on installing the Android SDK on the NetBeans Integrated Development Environment (IDE). Normally people would use eclipse as their development environment when programming for the OS platform as offers the instructions for doing it this way. We are going to stray from this and use NetBeans as it can also be used for a variety of different languages and has a cleaner interface. To start out we need to make sure that NetBeans is installed and we will need to note what version we are using. After NetBeans is installed we can begin configuring the environment for Android.

The first thing we are going to want to do is install the Android SDK on our computers. has made this easier for use by offering Windows users an executable file to download and run. After we have downloaded the application we are going to need to locate it. After it has been located we will double click on the executable and the first screen should appear. Below are some screen shots of the options I chose while walking through the install:

After this installation has been completed we can now proceed to start up NetBeans. After NetBeans is open we are going to click on the menu bar and go to Options -> Plugins. This screen is used for adding plugins that can improve the IDE itself or help the way you code. In this instance we are wanting to add the Plugin nAndroid so we can start developing some Android applications in NetBeans. This is the first screen you will be presented with when the plugins option is chosen:

We want to navigate to the settings tab where we will want to go to the Add button and click it. We will be presented with a screen to add the name of the new plugin and the source of the plugin. At the end of this the screen should look something along the lines of this:

We can then proceed to check the box that says Check for Updates Automatically. This is so we don’t have to manually search for an update when there is one. After that is complete we can press OK and see that the plugin has been added to the list but not installed yet. For that to happen we need to click on the tab that says “Available Plugins“. After we are there we can utilize the search box on the right hand side by typing “Android” into it. It should bring up four options of which we will only need two. These two will be “Android” and “Android Test Runner For NetBeans 7” as that is the version of NetBeans we are using. After that the following screen shots will go through the install of the product with you after you press the install button:

After this is done we only have one thing left to do and that is hook in the Android SDK we downloaded into the NetBeans environment. This can be done by clicking on “Tools” in the menu bar and choosing “Options” at the very bottom. We then want to navigate to “Miscellaneous” where we will see an “Android” tab in the mix. Click on it and we will be presented with the following screen:

We need to click browse and then locate the Android SDK. Once found remember the path that the Android SDK is located at as we will need to use this once more before the end of this tutorial. Aftr you have delved into the Android SDK and selected the folder we can then press OK. Afterwards your screen with the location to the SDK should look like this:

We now need to go to our windows explorer, keeping in mind the path the the SDK and find the SDK one more time. After it has been found we will want to double click on the application executable named “SDK Manager”. Once it is open we will want to select all boxes in the “Android Repository” and “Third Party Add-Ons” that will be located under “Available Packages“. Once this is done we can then press “Install Selected” and wait for them to be done.

After the packages have installed you have completed all the requirements necessary to develop an Android application within NetBeans. This tutorial will be helpful if you are interested in Android Development and the new 201 Development series coming to Binary Wasteland in the future. Until the next tutorial, Happy Hacking!



It has been determined people were having trouble getting the NetBeans and Android SDK combo to work and it is because one key issue wasn’t mentioned.  When we download the Android SDK we need to add the SDK to a directory that will not have any spaces.  After this is done we need to add that directory to the System Variables under Path. To do this we need to click the start menu, navigate to computer, right click it and pick properties. You then need to click Advanced System Setting on the right hand side of the screen. You will then be presented with the following screen:


We then need to then click Environmental Variables and we will then get the following screen:



We will want to scroll down in System Variables to the Path variable and click the Edit button and we will get this following screen:


We will want to navigate to the end of the line and if there is not a “;” at the end then add one.  After that we need to add the path to the Android SDK and more specifically the tools folder as shown above.  We will need to change the reference in NetBeans to the Android SDK.  After this is done you should be able to run the program and the Android SDK will start up and load your program. Any furthur troubles leave a comment below and we will be sure to help! Until next time, Happy Hacking!

Share This