Android Studio仿真器在Mac OS X上速度很慢
问题描述:
我的Mac OS X 10.11.2上的Android仿真器64-x86出现问题,随附Android Studio 1.5。很长一段时间,GUI不响应启动任务。任务管理器显示模拟器需要高达100%的CPU。我发现许多问题的范围相同,但没有解决我的问题。Android Studio仿真器在Mac OS X上速度很慢
我已经安装了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? – Sam
面对同样的问题,但针对Android 7.0。你能找到解决这个问题的办法吗? (除了切换到Genymotion ..我还没有尝试过) – fabricio