首页 > 解决方案 > 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 中成功运行仿真设备所需的所有必要选项。

标签: androidemulationintelhaxm

解决方案


为什么不在虚拟机中运行 Android?

从Android-x86下载 ISO并安装它。

另一种方法是使用 Microsoft 的Visual Studio Emulator for Android。尽管有这个名字,你也可以独立运行它。


推荐阅读