我确实从英特尔页面https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager/下载了HAXM安装软件包。

但是安装失败,请参阅日志:

tokra@TOMASs-MBP:~/Downloads/haxm-macosx_v6_0_3$ sudo ./silent_install.sh -u
HAXM is not installed!
tokra@TOMASs-MBP:~/Downloads/haxm-macosx_v6_0_3$ sudo ./silent_install.sh
Silent installation failed, please see /private/tmp/haxm_silent_run.log for details!
tokra@TOMASs-MBP:~/Downloads/haxm-macosx_v6_0_3$ cat private/tmp/haxm_silent_run.log
/dev/disk2              GUID_partition_scheme
/dev/disk2s1            Apple_HFS                       /Volumes/com_intel_kext_haxm_disc
mpkg_file=/Volumes/com_intel_kext_haxm_disc//IntelHAXM_6.0.3.mpkg
ecx 7ffafbff
edx 2c100800
edx 2c100800
No emulator instance exist!
dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.6.dylib
  Referenced from: /usr/local/bin/bash
  Reason: image not found
installer: Error - A newer version of Intel HAXM is already installed on this computer. Installation will exit.
"disk2" unmounted.
"disk2" ejected.
Error: The installation-check script run failed !
*************** Silent installation failed ! ****************

最佳答案

如果通过脚本安装失败,请尝试从软件包运行DMG:
android - 我无法在macOS Sierra上安装Intel HAXM-LMLPHP

这解决了我的问题。

07-28 00:03