When Your Emulator Won’t Launch
I am working on a Flutter application in Android Studio and ran into a situation where my Pixel 3 emulator would not launch. After some searching I found a solution to the problem. In the bottom right pane in Android Studio in the event log there was the following message:
Emulator: qemu: available lcd densities are: 120, 160, 213, 240, 280, 320, 360, 400, 420, 480, 560, 640
How to fix it
The solution is too set the lcd density in the AVD config file. In my case (running Windows 10) the path was here:
C:\Users\YourUserName\.android\avd\Pixel_3_API_28.avd\
Change this:
hw.lcd.density=440
To this:
hw.lcd.density=320
The emulator pops up instantly now. Remember to stop your AVD and restart it to pull in the new config.