Creating Android Virtual Devices (AVDs)

The Android emulator, included in the Android SDK, allows you to test apps on your computer rather than on an actual Android device. This is useful if you’re learning Android and don’t have access to Android devices, but can be very slow, so a real device is preferred if you have one. There are some hardware acceleration features that can improve emulator performance (developer.android.com/tools/devices/emulator.html#acceleration). Before running an app in the emulator, you must create an Android Virtual Device (AVD )which defines the characteristics of the device you want to test on, including the screen size in pixels, the pixel density, the physical size of the screen, size of the SD card for data storage ...

Get Android™ How to Program, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.