JG Vimalan's Blog

It is all about coding!

Setup Android development environment

In this post, I am going to explain the steps involved in setting up Android development environment.

Android Development Environment for Windows 

REF: http://developer.android.com/sdk/index.html

REF: http://developer.android.com/sdk/installing.html

Android SDK

–goto developer.android.com & SDK (Android SDK 2.2)

–download SDK

Eclipse

–goto www.eclipse.org/downloads

–download Eclipse IDE for Java Developers for Windows (Eclipse IDE for Java Developers Windows 32 bit)

JDK

–goto java.sun.com/javase/downloads

–download JDK 6

-Install JDK first

-Extract Android to D:\AndroidSDK. Follow the instructions given in the SDK Readme.txt file.

-Extract Eclipse package

-Open Eclipse

-Choose Workspace

Configure Android Development Tools Plug-in

—goto Help->Install New Software

—Click on Add button

—Type Google Android as the name in the popup

—TYpe https://dl-ssl.google.com/android/eclipse in the Location and click OK

–Check the checkbox & click next

–Accept the Terms & Conditions and click on Finish
 

–Restart Eclipse

–Goto Window -> Preferences.

–Select Android from left pane

–Select the Android SDK location and Apply

AVD
You must create an Android Virtual Device (AVD).
An AVD defines the system image and device settings used by the emulator.

-Create an AVD:

—In Eclipse, choose Window > Android SDK and AVD Manager.
—Select Virtual Devices in the left panel.
—Click New. The Create New AVD dialog appears.
—Keyin the name of the AVD, such as “demoavd”.
—Choose a target platform (say, android 2.2) you want to run on the emulator.
—Click Create AVD.

—————————–

Create a new project

—————————–

-File>New>Project

-Choose an Android project

-Specify Project Name

Thats all! Enjoy creating Android applications!

Advertisements

October 25, 2010 Posted by | Android | 4 Comments