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

标签 android angular cordova android-studio ionic-framework

我正在使用 ionic cordova 制作移动应用程序。我最近刚买了一台新笔记本电脑,当我尝试运行“ionic cordova run android --prod”时,出现此错误:

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

它在我以前的电脑上运行完美,但不幸的是,由于它的规范低,它无法处理开发负载。

Error Message pic here

我该怎么办?

最佳答案

刚在你的机器上试过,在系统变量Path下面加上这个,解决这个问题

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

关于android - PANIC : Missing emulator engine program for 'x86' CPU. [Ionic Cordova 运行 android],我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52602060/

相关文章:

java - 在 Android 上从照片 URI 创建文件

组件之间的 Angular 4 通信不起作用

angular - Material Angular 滚动到垫列表上的元素

javascript - 如何在 Angular 2 应用程序中包含 jquery 库

cordova - 如何使用 Ionic 在 Android 设备上安装两个不同的应用程序

android - 在 AchartEngine 中重绘

java - 二进制 XML 文件行 #21 : Binary XML file line #21: Error inflating class com. google.android.material.textfield.TextInputLayout

javascript - PhoneGap - window.location 在 iOS 中不工作

android - 火力地堡安卓 : App crash when receiving Notification after adding Invites

javascript - 带有 IonicHistory.goBack() 的按钮