How to set up android development environment?

This tutorial describes how you can set up a development environment for building Android applications in Eclipse IDE. In my future articles, I will be writing about the various programming techniques and features available in the Android development. Android is the leading Operating System in the smartphone market. This makes android is the most popular among the mobile application developers. If you are a mobile application developer, knowing Android application development adds lot of values to your profile. You can find more details about the android at official website. The following section guides you through the step-by-step process to set up the android environment.

Prerequisites for android app development

You must have installed all the below tools and software.

  1. Java SDK 5 or newer
  2. Android SDK
  3. Eclipse IDE
  4. ADT Plugin for Eclipse

Setting up the development Environment:

Step1: Choose a workspace for Android projects

1_workspace

Step2: Choose the Android SDK location

Click on Window->Preferences->Android->Browse->Choose the SDK location and click on OK->Click on Apply.

2_sdklocation

Step3: Creating an Android Virtual Device(AVD)

Click on Window->Android SDK or AVD Manager
Or you can click on the below highlighted symbol to create an Android Virtual Device.

3_AVD

Click on the above highlighted symbol ->click on New which leads you to the below screen

4_creatingAvd

Click on Create AVD shown in the above picture.

The Android Virtual Device “AVD1″ is created and displayed in the AVD manager as below

5_ACDcreated

Click on the newly created virtual device “AVD1″ and click on the “Start” Button which leads you to the below screen.

6_AVDstart

Click on the highlighted Launch button as in the above screen which launches your Emulator.

7_Emulator

Now the Android Development Environment is all set for you to create an Android App. Hope this article helps you to understand the basics of getting started with the android development environment. Note that this post would serve as the very basic level entry programmers, you may use some other tools also for developing the applications.

If you have any questions or facing issues while setting up the environment, please post it in the comments section.

Comments

comments

About Krishna Srinivasan

He is Founder and Chief Editor of JavaBeat. He has more than 8+ years of experience on developing Web applications. He writes about Spring, DOJO, JSF, Hibernate and many other emerging technologies in this blog.

Trackbacks

  1. [...] my previous article I have explained about how to set up the android environment. This article shows you how you can create a simple Android Application using eclipse. This example [...]

  2. [...] android application placed in its root directory. In my previous articles I have explained about setting up the android environment and how to write a simple android application. This article explores one of the most important [...]

  3. [...] To know about how to set up a working environment, please refer to the post Set up environment. [...]

  4. [...] you want to know about how to set up the android environment, please refer to one of our articles Android Environment. I would be using android 2.2 for this [...]

  5. [...] are not familiar with setting up an android environment, please refer to one of our previous posts Android Environment. Note: This example is build using android [...]

  6. [...] go through the article on Environment to know how to set up an android working [...]

  7. [...] topic has already been discussed in one of our previous posts Environment. Please refer the post for more queries. I would be using Android 2.2 for this [...]

  8. [...] Step 1: Open Eclipse and set up the required android environment. For details on how to set up the environment, please refer environment. [...]

Speak Your Mind

*