Saturday, 28 September 2013

How to setup android developing environment

In this tutorial we are showing that how to setup android developing environment with two different approach,One approach is very simple in which we only need to download a ADT Bundle,that not require any additional installation or setup.Other approach is also good but it requires a bit effort in setup.Actually before starting any android app we need a developing environment that provides us the API libraries and developer tools necessary to build, test, and debug apps for Android.

ADT Bundle(Android Developer Tools): 

If you're a new Android developer, we recommend you download the ADT Bundle to quickly start developing apps. It includes the essential Android SDK components and a version of the Eclipse IDE with built-in ADT (Android Developer Tools) to streamline your Android app development.

With a single download, the ADT Bundle includes everything you need to begin developing apps likes:

  • Eclipse + ADT plugin
  • Android SDK Tools
  • Android Platform-tools
  • The latest Android platform
  • The latest Android system image for the emulator
 Case 1: We recommends you to download the ADT Bundle from here: 

ADT Bundle Download

 So lets get started with your first basic setup for Android development.Go to your download folder where you saved your download,Extract the downloaded folder and now you will see the two folder's there one is eclipse and other is sdk folder,hit the eclipse folder and start your eclipse.

  • Go to Window > Preferences > Android and give path to where you have placed your sdk in empty box and click Ok.
  • It will set sdk manger in your eclipse.
  •  Take a better idea from below given image.

If you are enable to see the sdk manger or avd in your eclipse then follow the below given steps:
Now you can check sdk manager availability if not getting it by you on eclipse:

Click on Window > Customize perspective > Command Groups Availability tab. Check the "Android SDK and AVD Manager" option and hit the OK button

You can enable other things if you required it from above figure.

Once you have got the Android sdk manager and Avd,then you can develop your own app.

Note: To add extra functionality to your app,and wants to install more packages then go to Android Sdk Manager,and install from there.For more reference see the below given figure.


you can install different API labels and many more by it.

  Case 2: when you have downloaded the sdk and need a eclipse plug-in to your                     sdk.
  • Installing Android Development Toolkit (ADT) plug-in
  • Open Eclipse s/w and under Help -> Install New Software… 
  • Now you will see a window which allows you to install new plug-in
  • Click on Add button and in Name and in Location give the link and proceed with further steps.


You will also see:
 Case 3:   How to start New Android Virtual Device(AVD):-
An Android Virtual Device (AVD) is an emulator configuration that lets you model an actual device by defining hardware and software options to be emulated by the Android Emulator.
The easiest way to create an AVD is to use the graphical avd manager, which you launch from Eclipse by clicking Window > AVD Manager. You can also start the AVD Manager from the command line by calling the android tool with the avd options, from the <sdk>/tools/ directory.

 AVD consists of:

  • A hardware profile: Defines the hardware features of the virtual device. For example, you can define whether the device has a camera, whether it uses a physical QWERTY keyboard or a dialing pad, how much memory it has, and so on.
  • A mapping to a system image: You can define what version of the Android platform will run on the virtual device. You can choose a version of the standard Android platform or the system image packaged with an SDK add-on.
  • Other options: You can specify the emulator skin you want to use with the AVD, which lets you control the screen dimensions, appearance, and so on. You can also specify the emulated SD card to use with the AVD.
  • A dedicated storage area on your development machine: the device's user data (installed applications, settings, and so on) and emulated SD card are stored in this area.
You can create as many AVDs as you need, based on the types of device you want to model. To thoroughly test your application, you should create an AVD for each general device configuration (for example, different screen sizes and platform versions) with which your application is compatible and test your application on each one.

Keep It in mind when create AVD:

You should create at least one AVD that uses a target whose API Level is greater than that required by your application, because it allows you to test the forward-compatibility of your application. Forward-compatibility testing ensures that, when users who have downloaded your application receive a system update, your application will continue to function normally.

  • Now Go to Android Virtual Device Manager and click on it:
You will see the following window:


  • Now click on the new button situated in right hand side of open window.You will see the following avd window:
  •  Fill all the required details like target,Internal storage and sd card details etc.
  •   After it click on OK button. 

  •  A new AVD has been created with the given specification and Close the Android SDK and AVD Manager.
  •  Now you have successfully created AVD you are ready to test your application.
  • By hitting the start button and after selecting avd,you have to wait for some moment,because avd takes some second in start-up process.  
  • Finally you will see the similar picture of avd.

Please Share this tutorial On:



  1. Hi sir I have followed your all i need some help on xml/json parsing.............

  2. Thank you sooo much for this tutorials !

  3. thnx dude (developer from kenya)

    1. Most welcome john......I glad thats its help you...

  4. The Samsung Galaxy S4 is getting the Android 5.0.1 Lollipop update in Canada. The OTA rollout has started for software build I337MVLUGOC4. To know more about , Visit Android training in chennai