An Android Virtual Device (AVD) is an emulator configuration that lets you model an actual device by defining hardware and software options to be emulated by the Android Emulator.
The easiest way to create an AVD is to use the graphical AVD Manager, which you launch
from Eclipse by clicking Window > Android SDK and AVD Manager. You can also start
the AVD Manager from the command line by calling the android
tool in the tools
directory of the Android SDK.
You can also create AVDs on the command line by passing the android
tool options.
For more information on how to create AVDs in this manner, see Managing Virtual
Devices from the Command Line.
An AVD consists of:
You can create as many AVDs as you need, based on the types of device you want to model. To thoroughly test your application, you should create an AVD for each general device configuration (for example, different screen sizes and platform versions) with which your application is compatible and test your application on each one.
Keep these points in mind when you are selecting a system image target for your AVD:
minSdkVersion
attribute of the application's manifest file. For more
information about the relationship between system API Level and application
minSdkVersion
, see Specifying Minimum System API Version.uses-library
element in its manifest file, the application can only run on a system image in which that external
library is present. If you want to run your application on an emulator, create an AVD that
includes the required library. Usually, you must create such an AVD using an Add-on component for the
AVD's platform (for example, the Google APIs Add-on contains the Google Maps library).To learn how to manage AVDs using a graphical tool, read Managing AVDs with AVD Manager. To learn how to manage AVDs on the command line, read Managing AVDs from the Command Line.