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 的仿真器引擎程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

How to target newer versions in .gitlab-ci.yml using auto devops (java 11 instead of 8 and Android 31 instead of 29)(如何在.gitlab-ci.yml中使用自动开发工具(Java 11而不是8,Android 31而不是29)瞄准较新的版本)
Android + coreLibraryDesugaring: which Java 11 APIs can I expect to work?(Android+core LibraryDesugering:我可以期待哪些Java 11API能够工作?)
How to render something in an if statement React Native(如何在If语句中呈现某些内容Reaction Native)
How can I sync two flatList scroll position in react native(如何在本机Reaction中同步两个平面列表滚动位置)
Using Firebase Firestore in offline only mode(在仅脱机模式下使用Firebase FiRestore)
Crash on Google Play Pre-Launch Report: java.lang.NoSuchMethodError(Google Play发布前崩溃报告:java.lang.NoSuchMethodError)