Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

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.

like image 332
Marat Mkhitaryan Avatar asked Jul 31 '18 05:07

Marat Mkhitaryan


1 Answers

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

like image 155
shizhen Avatar answered Sep 30 '22 04:09

shizhen