CHAPTER 16: The Future of Android: The 64-Bit Android 5.0 OS 647
Once you click the Start button, you will get the Launch Options dialog, as shown on the left side of
Figure 16-69. I selected the Scale Display to Real Size so that I could see actual pixels, and then
I set the Screen Size to 15.3 inches at 96 DPI to get a 1:1 pixel scale. I also selected the Wipe user
data, more for future use than for a first time launch, as you have already learned all about previously
in this book. Once you click the Launch button, you’ll get a Starting Android Emulator dialog, as
shown on the right side of Figure 16-69, showing the launch progress.
Figure 16-69. The Launch Options and Starting Android Emulator dialogs
On my workstation I could not at this point get the AVD to launch: it launched on the loading screen
and then hung. I will give you one guess as to how I got the emulator to run in the end. I exited
IntelliJ and used the Run as Administrator trick (shown in Figure 16-44) to launch IntelliJ, and only
then did an AVD launch work. Did you guess correctly?
Now let’s go into the Run/Debug Configurations dialog (under the Run ➤ Run Configurations menu
sequence) and use the Target Device area of the dialog that you looked at earlier in the chapter to set
the AVD emulator that you just created. Select the Emulator radio button, as shown in Figure 1 6-7 0 ,
and select your new AVD.