Setup Android development environment
In this post, I am going to explain the steps involved in setting up Android development environment.
–goto developer.android.com & SDK (Android SDK 2.2)
–download Eclipse IDE for Java Developers for Windows (Eclipse IDE for Java Developers Windows 32 bit)
–download JDK 6
-Install JDK first
-Extract Android to D:\AndroidSDK. Follow the instructions given in the SDK Readme.txt file.
-Extract Eclipse package
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
–Goto Window -> Preferences.
–Select Android from left pane
–Select the Android SDK location and Apply
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
-Choose an Android project
-Specify Project Name
Thats all! Enjoy creating Android applications!