Search this blog

How to manage Android Virtual Devices

To run an application in the Android emulator, you must configure an Android Virtual Device (AVD). The AVD profile describes the type of device you want the emulator to simulate, including which Android platform to support. You can specify different screen sizes and orientations, and you can specify whether the emulator has an SD card and, if so, its capacity.

Given Below are the steps for creating a basic AVD:
1. Launch the Android SDK and AVD Manager from within Eclipse by clicking  on the little green Android icon on the toolbar. You can also launch the manager by selecting Window, Android SDK and AVD Manager in Eclipse.
2. Click the Virtual Devices menu item on the left menu. The configured AVDs  will be displayed as a list.
3. Click the New button to create a new AVD.
4. Choose a name for the AVD
5. Choose a build target. For example, to support Android 2.1, choose the item build target called Android 2.1 – API Level 7 from the drop-down.
6. Choose an SD card capacity, in either kibibytes or mibibytes
 (The minimum is 9MiB, but keep in mind that the
full size of the SD card is stored on your machine.)
7. Choose a skin. This option controls the different visual looks of the emulator.
In this case, go with the default HVGA screen, which will display in portrait
mode.
Your project settings should look as shown in Figure below.
8. Click the Create AVD button and wait for the operation to complete.
9. Click Finish.

Now you are done with the managing android virtual devices

0 comments:

Post a Comment