Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

enter image description here

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

enter image description here

below is my android studio info

enter image description here

and I my environment variables

enter image description here

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

like image 914
Juliver Galleto Avatar asked Mar 17 '19 07:03

Juliver Galleto


1 Answers

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.

like image 111
shizhen Avatar answered Nov 12 '22 05:11

shizhen