ADT中通过Android SDK Manager安装Intel Hardware Accelerated Execution Manager...
之前折腾:【已解决】Android的模拟器,在ADT中调试运行AVD时,速度太慢,极其的慢的过程,在:【记录】ADT中使用Android SDK Manager安装X86的System Image也创建好了X86的AVD后,需要再去安装对应的Intel Hardware Accelerated Execution Manager(Haxm)。下面记录过程:1.继续安装之前的方法,通过Android SDK Manager在extra中,找到并选中了那个Intel x86 Emulator Accelerator (HAXM):http://www.crifan.com/files/pic/uploads/2012/12/install-haxm_thumb.png点击下载,很快,1M多的东西,就下载完毕了。2.然后点击安装,马上就安装好了,此时就已显示Installed了:http://www.crifan.com/files/pic/uploads/2012/12/installed-haxm_thumb.png3.以为就安装完毕了呢。结果去参考教程:Configuring Virtual Machine Acceleration去验证haxm是否已安装成功时,结果却失败出错了:C:\Users\CLi>sc query intelhaxm
EnumQueryServicesStatus:OpenService FAILED 1060:The specified service does not exist as an installed service.
http://www.crifan.com/files/pic/uploads/2012/12/SC-EnumQueryServicesStatus-OpenService-FAILED-1060_thumb.png
4.所以继续参考教程,还需要去手动安装Hxam的。去对应的sdk\extras\intel\Hardware_Accelerated_Execution_Manager 路径下,找到了对应的文件:D:\tmp\tmp_dev_root\android\adt-bundle-windows\sdk\extras\intel\Hardware_Accelerated_Execution_Manager\IntelHaxm.exe
http://www.crifan.com/files/pic/uploads/2012/12/run-IntelHaxm-exe_thumb.png全名叫做:Intel® Hardware Accelerated Execution Manager5. 双击去安装:http://www.crifan.com/files/pic/uploads/2012/12/intel-hardware-accelerated-execution_thumb.png
http://www.crifan.com/files/pic/uploads/2012/12/accept-next_thumb.png然后默认选择是2G,我此处只分配给其1G:http://www.crifan.com/files/pic/uploads/2012/12/here-use-1g-for-emulator_thumb.pnghttp://www.crifan.com/files/pic/uploads/2012/12/max-use-1g_thumb.pnghttp://www.crifan.com/files/pic/uploads/2012/12/installing_thumb1.pnghttp://www.crifan.com/files/pic/uploads/2012/12/complete-install-haxm_thumb.png完毕后,打开了:http://software.intel.com/en-us/android感兴趣的,可以好好去看看。6.再去验证一次,就可以了:
C:\Users\CLi>sc query intelhaxmSERVICE_NAME: intelhaxm
TYPE : 1KERNEL_DRIVER
STATE : 4RUNNING
(STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
WIN32_EXIT_CODE : 0(0x0)
SERVICE_EXIT_CODE: 0(0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
http://www.crifan.com/files/pic/uploads/2012/12/sc-query-intelhaxm-ok_thumb.png
至此,终于算是安装haxm完成了。
【总结】通过Android SDK Manager去安装haxm时,虽然已经显示的是Installed,其实也只是部分安装完成,还需要手动去运行对应的sdk\extras\intel\Hardware_Accelerated_Execution_Manager\IntelHaxm.exe才可以最终安装成功的。再去cmd中验证:sc query intelhaxm出现了对应的STATE就可以了。
页:
[1]