Setting Up an Android Virtual Device (Emulator)
You can define Android emulators that you can use to test mobile applications.
To create an Android Virtual Device (Emulator)
1. Launch the Android Virtual Device (AVD) Manager tool.
For Windows, the AVD Manager is located at C:\android-sdk-windows\SDK Manager.exe. You can directly launch it by double clicking the SDK Manager.exe file.
For Macintosh, open the terminal window and enter the following to start the AVD Manager:
cd /android-sdk-macosx
./tools/android
2. From the AVD Manager tool, select Tools > Manage AVDs.
The AVD Manager displays the virtual devices that you have defined.
3. Click New to create a new device.
4. Perform the following in the window for creating a new Android virtual device:
a. In the Name field, type a meaningful name for the device you are adding.
Tip: | It is helpful to include the Android API level and screen size in the name. |
b. Select the API level you want to emulate.
The selected API level determines the version of the Android operating system that runs on your virtual device, as well as default features for that device.
c. Set the remaining settings that you want to emulate. These settings include:
Specifying and/or creating an SD Card image
Altering the screen size of the device (the "skin" section)
Adding any extra hardware features, such as GPS
5. Click Create AVD.