简体   繁体   中英

PANIC: Missing emulator engine program for 'x86' CPU. [Ionic Cordova run android]

I am using ionic cordova to make a mobile app. I recently just got a new laptop and when I try to run 'ionic cordova run android --prod', I get this error:

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

It was working perfectly on my previous computer, though unfortunately it can't handle the payload of development due to it's low specs.

错误消息图片在这里

What can I do about this?

Just tried and verified on your machine add below this under system variables Path, to solve this problem

C:/users/$Whome/AppData/Local/Android/Sdk/platform-tools
C:/users/$Whome/AppData/Local/Android/Sdk/tools
C:/users/$Whome/AppData/Local/Android/Sdk/emulator

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM