Downloading and Installing
Download JDK and JRE (version 6), Eclipse (Helios), Android (.exe) and Install them in the same way one by one.
Java SE : http://www.oracle.com/technetwork/java/javase/downloads/index.html
Eclipse : http://www.eclipse.org/downloads/
Android : http://developer.android.com/sdk/index.html
Installing the ADT Plug-in
http://developer.android.com/sdk/installing.html
Check all the info here related to,
o Preparing Your Development Computer
o Downloading the ADT Plug-in
o Configuring the ADT Plug-in
o Troubleshooting ADT Installation
Folder Architecture
Make your development folder structure in your system as shown below. It will be easy to place your all stuff at one place.
< directory_name >:\java\Development
< directory_name >:\java\Development\android-sdk-windows
< directory_name >:\java\Development\Eclipse\eclipse
< directory_name >:\java\Development\eclipse_workspace
< directory_name >:\java\Development\eclipse_workspace\Hello_Android
———————————————————————————
In Eclipse, first of all check for the Updates. (It will take time in checking all the updates.)
Follow Step : Help > Check for Updates
You can also see the details of all the updates by clicking on “Details” button.
Now need to set the preferences in Eclipse.
Follow Step : Window > Preferences
In the Preferences window, you will see the Android in the left panel, mostly the second option (just below to General).
- Click on Android
- Browse the SDK Location to < directory_name >:\java\Development\android-sdk-windows
- Apply
The below container will show a list of all the Target Names.
Now press OK.
Now, to launch the Android SDK and AVD Manager from within Eclipse,
Follow Step : Window > Android SDK and AVD Manager
[Note : If Android SDK and AVD Manager in Windows is not available, try below step;
On Windows, double-click the SDK Manager.exe file at the root of the Android SDK directory.
OR
If you see some preference error after following the above mentioned step (Follow Step : Window > Android SDK and AVD Manager), check your “Preferences”.]
Go to the Available Packages.
Select both – Android Repository and Third Party Add-ons
And press “Install Selected”
Select “Accept All” and then click on “Install”.
It may take some time to install all the Archives. When it is finished, you will see an ADB Restart message.
Click on “Yes”.
Verify the selected message here with “ADB: * daemon started successfully *” and then click on Close button. Close the Android SDK and ADB Manager window too.
If you haven’t worked on any project earlier within the same Eclipse installation, you will see a blank Project window (as shown below) in Eclipse to get start.
———————————————————————————————-
Create an AVD – Android Virtual Device
Before you can launch the emulator, you must create an Android Virtual Device (AVD). An AVD defines the system image and device settings used by the emulator.
Follow Step : Window > Android SDK and AVD Manager
To 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.
- Type the name of the AVD, such as “my_avd”.
- Choose a target. The target is the platform (that is, the version of the Android SDK, such as 2.1) you want to run on the emulator.
You can ignore the rest of the fields for now.
- Click Create AVD.
To start, select your AVD and click on Start button and Launch.
Enjoy, Android is EASY.
















