I'm trying to use emulator.exe
as android emulator for Charles Proxy. But I have problem, when I launch
emulator @5.1_WVGA_API_28
I get this error:
PANIC: Missing emulator engine program for 'x86' CPU.
But I can run the emulator from android studio and it's working fine! I have an intel processor.
If you want to run emulator from command line,
<your-full-path>/emulator -avd 5.1_WVGA_API_28
For newer version of Android SDK, the emulator path should be something as below:
/<xxx>/Android/sdk/emulator/emulator
For older version of Android SDK, the emulator path is as below:
/<xxx>/Android/sdk/tools/emulator
Try either one of above to see which is your case.
Here is the official document for Android emulator command line usage: https://developer.android.com/studio/run/emulator-commandline
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With