Creating the AVD and running your first app on the AVD

This provides the basic steps needed to create an AVD and run a simple app like a hello world on that AVD. Although it is shown with eclispe ADT it may be applicable for other tools as well.

See this URL for more detailed research on AVDs


Open the AVD Manager
Create the AVD
Start the AVD
Run or Debug the App on the AVD

Eclipse
Window
AVD Manager

See this URL to fill this screen


Name: Name of the AVD, ex: My-First-API14-AVD
Target: Ex: Android 4.0 API Level 14 (From a drop down)
Size: 32MB
Snapshot: enabled: to load it from a snapshot on restart. 
   disable this if you see problems and restart
Skin: pick from dropdown
Hardware: use New to pick up a various other properties of the AOD

Target: google apis + api 14
skin: wvga800
sdcard:32m
ram:512
disable boot automation
-scale 0.7

Here are some configurations for a variety of devices

Here are some notes on setting up AVDs for ICS


HVGA
QVGA

WQVGA400
WQVGA432

WSVGA

//phones
WVGA800
WVGA854

//tablets
WXGA720
WXGA800

See this URL for an explanation of these

Use explicit scaling to control height and width of the AVD on your screen. I often do that because the default for a phone is too big.

wipe user data will remove your apps and starts afresh

If snapshot is enabled it will speed up the load of the AVD. But sometimes it may run into problems. In that case uncheck this and load it.

save to snapshot allows the device to save the current state when closed. when you do this it will take a few minutes to close.


An SSD drive
8G of memory

It may take a few to 5 minutes or more to start


High light your project
Use the Run menu to launch as last launched

High light your project in eclipse
Right click
Run as
Android application

Show images for: Android Run Configurations Image

You can chose an explicit AVD you created above in the target pane. See at the bottom you can choose additional emulator start options if you want eclipse to directly launch it if the AVD is not already started.