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

情到浓时终转凉″ 提交于 2019-11-26 14:29:45

问题


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.


回答1:


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




回答2:


I have solved the problem. You must install HAX drivers. You can do it here: https://software.intel.com/en-us/articles/intel-hardware-accelerated-execution-manager-intel-haxm Or just do update of SDK:

C:\Users\%username%\AppData\Local\Android\Sdk\tools\android.bat update sdk




回答3:


That was not a path/location problem on my PC.

I have to use x86_64 system images to get the emulator working from the command line...

https://stackoverflow.com/a/56099493/531322



来源:https://stackoverflow.com/questions/51606128/windows-emulator-exe-panic-missing-emulator-engine-program-for-x86-cpu

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!