Android Emulator: 'PANIC: Missing emulator engine program for 'x86' CPU.'


#1

When I run ionic cordova run android without attaching an device I get the following error:

JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home
No target specified and no devices found, deploying to emulator
No emulator specified, defaulting to Pixel_2_API_27

Waiting for emulator to start...

PANIC: Missing emulator engine program for 'x86' CPU.

And then nothing happens. How can I fix this? I downloaded an emulator image…