dev.android.emulator.haxm

运行emulator -avd xxx来启动名为xxx的模拟器,但报如下错误:

emulator: ERROR: x86 emulation currently requires hardware acceleration!
Please ensure Intel HAXM is properly installed and usable.
CPU acceleration status: HAX kernel module is not installed!

HAXM= Hardware Accelerated Execution Manager。现在Intel上运行android x86镜像需要硬件支持的虚拟化,需要安装HAXM。

可以在SDK manager中的extras分类下面找到HAXM的包,但是可能安装不了,因为显示Not compatible with Windows

如果出现这种情况,可以去Intel官网下载HAXM:
https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager-end-user-license-agreement

安装HAXM,需要CPU支持vt和nx。下来的安装包里有个命令行程序haxm_check.exe,可以检查是否满足。

成功安装后,再运行emulator -avd xxx就可以成功启动xxx了。

相关文章:

  • 2021-09-08
  • 2021-11-27
  • 2021-11-26
  • 2021-08-13
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-10-16
  • 2022-12-23
  • 2021-07-08
  • 2021-07-04
  • 2022-12-23
  • 2021-08-18
相关资源
相似解决方案