Windows emulator.exe PANIC:缺少“x86"CPU 的仿真器引擎程序

Windows emulator.exe PANIC: Missing emulator engine program for #39;x86#39; CPU(Windows emulator.exe PANIC:缺少“x86CPU 的仿真器引擎程序)

本文介绍了Windows emulator.exe PANIC:缺少“x86"CPU 的仿真器引擎程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用 emulator.exe 作为 Charles Proxy 的 android 模拟器.但是我有问题,当我启动时

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 

我得到这个错误:

恐慌:缺少x86"CPU 的模拟器引擎程序.

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

但我可以从 android studio 运行模拟器,而且运行良好!我有一个英特尔处理器.

But I can run the emulator from android studio and it's working fine! I have an intel processor.

推荐答案

如果你想从命令行运行模拟器,

If you want to run emulator from command line,

<your-full-path>/emulator -avd 5.1_WVGA_API_28 

对于较新版本的 Android SDK,模拟器路径应如下所示:

For newer version of Android SDK, the emulator path should be something as below:

/<xxx>/Android/sdk/emulator/emulator

对于老版本的Android SDK,模拟器路径如下:

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.

这里是Android模拟器命令行使用的官方文档:https://developer.android.com/studio/run/emulator-commandline

Here is the official document for Android emulator command line usage: https://developer.android.com/studio/run/emulator-commandline

这篇关于Windows emulator.exe PANIC:缺少“x86"CPU 的仿真器引擎程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本文标题为:Windows emulator.exe PANIC:缺少“x86"CPU 的仿真器引擎程序

基础教程推荐