android studio运行x86平台模拟器镜像的时候报错信息:
Cannot launch AVD in emulator. Output: emulator:
x86 emulation currently requires hardware acceleration!
Please ensure Intel HAXM is properly installed and usable.
CPU acceleration status: HAX kernel module is not installed!
原因分析:由于手机cpu都是arm架构的,一般我们给模拟器下arm模拟器的镜像就可以运行,也不会有报错,但是运行x86镜像的模拟器会报错,
能运行arm平台是通过软件将pc端x86架构的cpu模拟过来的,性能肯定没有那么强大,还有就是有些intel的cpu也用于很多Android平板上了,
虽然是x86的cpu,但是需要安装HAXM
解决方法:
1.打开SDK Manager,安装Extras分类下的“Intle x86 Emulator Accelerator(HAXM installer)”
2.下载完成后文件在android-sdk\extras\intel\Hardware_Accelerated_Execution_Manager\IntelHaxm.exe下,
3.双击exe可执行文件,安装
4.安装完成后重新运行x86 镜像的模拟器的
5.ok