Running on the Emulator
To run an Android application, you need a device – either a hardware device or a virtual device. Virtual devices are powered by the Android emulator, which ships with the developer tools.
To create an Android virtual device (AVD), choose Window → Android Virtual Device Manager. When the AVD Manager appears, click the New... button on the righthand side of the window.
In the dialog that appears, you are offered many options for configuring a virtual device. For your first AVD, choose to emulate a Galaxy Nexus device running Google APIs – API Level 17, as shown in Figure 1.13. If you are running on Windows, you will need to change the RAM from 1024 to 512 to get the AVD to behave properly. Then click OK.
Figure 1.13 Creating ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access