从 Android SDK Tools rev 17 开始,Android 模拟器支持使用硬件虚拟化功能(Intel VT、VT-x、vmx 和 AMD-V、SVM),这将大大加速基于 x86 的模拟器图像:http://developer.android.com/guide/developing/devices/emulator.html#accel-vm
我安装了所有必要的组件:
- 最新的 SDK 工具
- 英特尔硬件加速执行管理器(和 installed it by executing IntelHaxm.exe)
- Intel Atom x86 系统镜像(可用作 API 10 和 API 15 镜像)
然后我使用该图像创建了一个新的 AVD,但我“感觉”不到执行速度有任何差异。
因此我的问题是:如何判断是否使用了硬件虚拟化功能?
如果不是,需要做什么才能使用它?
我知道它是由 BIOS 启用的,因为我可以在 VirtualBox 中运行 Windows 64 位虚拟机。 此外,我已经使用 Microsoft® Hardware-Assisted Virtualization Detection Tool 对其进行了验证.
最佳答案
在模拟器加载期间你应该看到这一行:
[2012-03-26 14:06:22 - Emulator] HAX is working and emulator runs in fast virt mode
关于安卓模拟器 : how to find out if hardware virtualization feature is used?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9839851/