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

僤鯓⒐⒋嵵緔 提交于 2020-02-19 06:08:09

问题


I have this cordova app and tried to run

cordova platform add android
cordova emualate android

but it give me below error from the console

and when I check from the android studio, everything seems installed

below is my android studio info

and I my environment variables

and I can confirm from the folder location that those path I put existed, any help, ideas please?


回答1:


Check this answer: PANIC: Missing emulator engine program for 'x86' CPU. and Mac and "PANIC: Missing emulator engine program for 'arm' CPU."

For newer version of Android SDK, the emulator path should be /<xxx>/Android/sdk/emulator/emulator, make this path is the first path to be searched in our environment variable.

i.e. add this path to your environment variable PATH BEFORE /<xxx>/Android/sdk/tools/emulator

Or try to remove /<xxx>/Android/sdk/tools/emulator from your PATH variable.




回答2:


Use x86_64 system images for emulator on Windows 10:



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

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