android - VMWare Fusion 中的 Intel HAXM 错误 - 无法运行 Android 应用程序
问题描述
我正在尝试在 VMWare Fusion 中运行的 Windows 7 x64 VM 中启动 Android 仿真设备。
以下是详细信息:
Host OS: OSX 10.12.6
Virtualization Software: VMWare Fusion 8.5.10
Guest OS: Windows 7 x64
当我启动仿真设备时,我收到以下错误消息:
emulator.exe -avd Nexus_5X_API_25
emulator: ERROR: x86 emulation currently requires hardware acceleration!
Please ensure Intel HAXM is properly installed and usable.
CPU acceleration status: Unable to open HAXM device: ERROR_FILE_NOT_FOUND
设备详情如下:
Available Android Virtual Devices:
Name: Nexus_5X_API_25
Device: Nexus 5X (Google)
Path: C:\Users\user\.android\avd\Nexus_5X_API_25.avd
Target: Google Play (Google Inc.)
Based on: Android 7.1.1 (Nougat) Tag/ABI: google_apis_playstore/x86
Skin: nexus_5x
Sdcard: 100M
Intel haxm-check.exe 显示虚拟机内部提供 VT 和 NX 支持:
VT support -- yes
NX support -- yes
我已经安装了 Intel HAXM,我也可以在程序列表中看到它。
我检查了虚拟机设置,并启用了以下选项:
Enable Hypervisor applications in this virtual machine
Support for Intel VT-x/EPT in the virtual machine
那么,我该如何解决此错误消息?
看来我已经配置了在 VMWare Fusion 中成功运行仿真设备所需的所有必要选项。
解决方案
为什么不在虚拟机中运行 Android?
从Android-x86下载 ISO并安装它。
另一种方法是使用 Microsoft 的Visual Studio Emulator for Android。尽管有这个名字,你也可以独立运行它。
推荐阅读
- javascript - 如何将数字数组转换为仅在单击加号图标时出现的列表?
- python - 计算 pandas 文本列中最常见的短语
- python - 如何将数据帧转换为 0 和 1 的 ndarray?
- sql - 在 postgresql 中匹配客户 ID 值
- sql - IF 在 SAP HANA 中的时间间隔
- c++ - 带有 boost 的大整数:太大而无法以任何整数类型表示
- python - 您如何使用函数来聚合数据框列并根据欧洲日期将它们分成季度?
- ios - 通知权限问问题斯威夫特
- java - 使用 GregorianCalendar 操作和比较日期,无法使代码正常工作
- uwp - Windows 应用商店:UWP 应用程序发布