Friday 10 February 2012

Android - Setting Up Development Environment.


Setting Up Android Development Environment.

Okay I know this is very basic thing but as my blog says, its Knowledge Dump, Any thing big or small should be shared so here i go. Setting up Android development environment consists of following very easy steps:
First 2 steps are pretty straight forward and self explanatory. However, the 3rd step needs some explanation and is mentioned in the below section.

Setting Up Android SDK inside Eclipse:

Ok now that we have our dependencies and IDE ready, we need to integrate the Android’s SDK and Android Development tools with our IDE i.e. we have to make our IDE capable of developing Android Applications. For this First we will have to install the Android Plugin for Eclipse so that it can help in the integration of Android SDK tools and Android Development Tools with our Eclipse IDE.
For Installing Android Plugin open Eclipse->help->Install New Softwares. Click ‘Add’ and this will show you a dialog having ‘Name’ & ‘Location’ fields. Enter any name in the ‘Name’ field say Android Plugin or ADT Plugin. In the ‘Location’ field enter https://dl-ssl.google.com/android/eclipse/. If this doesn’t work then try the link with simple “http”. Click ‘Ok’ and eclipse will show you the available softwares/plugins on this url that can be installed. Select all and install them.  Once Installed Eclipse might ask you to restart the IDE.
 Restart the IDE and now in ‘Window’ menu you can see “Android SDK Manager” and “AVD manager”. Select the “Android SDK Manager” and it will show you available Packages such as Tools, SDKS and Extras. Select available packages in ‘Tools’ and at least one SDK say “Android 2.2 (API 8)” and then Install them. Once Installed you are all set to develop applications for android by simply going into File->New->Other->Android Project.

Papa Reference:

2 comments:

  1. About Android mobile application I got a fantastic idea by read this post.This is one of the fastest growing mobile application.We are also providing some good logic related to this android application.

    ReplyDelete