Thursday, May 19, 2011

Installing a Android dev environment

When you want to start developing applications for the android platform you will need to setup your development platform. In my case this will be my macbook so you might find some references to the mac platform however for Linux it will be quite the same I guess. The android development platform consists out of two major parts. the first is the Android Software Development Kit (SDK) and the second part is the Eclipse plugin.

Downloading the SDK can be done from the google android developers page. Just download the zip file and unpack it somewhere on your machine where you think it is appropriate to store it.

The second part is to install the eclipse plugin. For some reason it is also possible to download all the parts of the SDK from the eclipse plugin option. In my case it was even needed as for some reason I was unable to associate the downloaded SDK with the eclipse plugin.

To install the eclipse plugin you go to "help" -> "Install new software". here you can add the location where Google is storing the eclipse plugin; https://dl-ssl.google.com/android/eclipse/

This will enable you to download the plugin. After downloading the plugin eclipse would like to restart the application. After you have restarted the application you will find a new menu item under "window" named "Android SDK and AVD Manager". when you select this you will be able to activate, update and download more parts of the eclipse plugin for Android development.

In my case I had to look under "installed Packages" and do a "update all" for some reason as it was unable to associate the downloaded SDK with the eclipse plugin.
After this action my "installed packages" section looked like the screenshot which you can see above here and all was set to start working on Android applications.
Post a Comment