【发布时间】:2016-06-23 01:15:54
【问题描述】:
我对 Mac OS X 10.11.2 上的 Android emulator64-x86 有问题,Android Studio 1.5 附带。启动任务很长一段时间GUI没有响应。任务管理器显示模拟器需要高达 100% 的 CPU。我发现了许多具有相同范围的问题,但没有解决我的问题。
我已经安装了 HAXM(最新版本 6.0.1)。模拟器说
emulator: GPU emulation enabled using 'host' mode
emulator: CPU Acceleration: working
emulator: CPU Acceleration status: HAX (version 3) is installed and usable.
我对版本 3 感到困惑,但我已经安装了版本 6.0.1。
在控制台中我收到了这条消息
08.03.16 20:08:14,000 kernel[0]: Kext com.intel.kext.intelhaxm not found for unload request.
08.03.16 20:08:19,000 kernel[0]: haxm_error: -------- HAXM release 6.0.1 --------
08.03.16 20:08:19,000 kernel[0]: haxm_error: This log collects running status of HAXM driver.
08.03.16 20:08:19,000 kernel[0]: haxm: Unknown ioctl
08.03.16 21:30:02,000 kernel[0]: haxm: Unknown ioctl
08.03.16 21:30:17,000 kernel[0]: haxm: Unknown ioctl
08.03.16 21:30:17,000 kernel[0]: haxm_error: Unsupport VM IOCTL 20007461
08.03.16 21:30:17,000 kernel[0]: haxm_error: Unknow vcpu ioctl 20007461
08.03.16 21:30:27,000 kernel[0]: haxm_error:
08.03.16 21:30:27,000 kernel[0]: ...........hax_teardown_vm
08.03.16 21:30:47,000 kernel[0]: haxm_error:
08.03.16 21:30:47,000 kernel[0]: ...........hax_teardown_vm
我记得我在 Windows PC 上安装了模拟器,我必须在 BIOS 中打开 HAXM 支持。在自述文件中,我发现了这个已知问题。
1. XD/VT check with "-c" option will only show the CPU capability. it cannot tell if XD/VT is disabled by BIOS
-c 选项返回
VT support -- Yes
NX support -- Yes
我对 Mac 系统架构不是很熟悉。但我的理解是 Mac 没有任何 BIOS。有没有可以打开 VT/NX 支持的菜单?
我通过带有参数“-show-kernel”的终端启动模拟器。从第一条内核消息到消息“开始启动动画”需要 5 秒。但下一条消息会在 40 到 50 秒后出现。
目前模拟器对我来说完全无法使用。
感谢您的帮助
【问题讨论】:
-
我在使用 Intel Core 2 Q6600 CPU 的 Windows 10 上遇到了同样的问题。我想知道HAXM是否对某些CPU没有任何影响?你的 Mac 有什么 CPU?
-
面临同样的问题,但针对的是 Android 7.0。你能找到解决这个问题的方法吗? (除了切换到 Genymotion .. 我还没有尝试过)
标签: macos android-studio emulation haxm