仿真器:错误:x86 仿真当前需要硬件加速 [英] Emulator: ERROR: x86 emulation currently requires hardware acceleration
问题描述
我尝试在 Android Studio 中运行我的 Hello World 应用程序.我收到以下错误:
<块引用>仿真器:错误:x86 仿真当前需要硬件加速!
请确保英特尔 HAXM 已正确安装并可使用.
CPU加速状态:未安装HAX内核模块!
你能告诉我如何处理这个错误吗?
根据
2) 现在转到您的 SDK 目录 C:users\%USERNAME%AppDataLocalAndroidsdkextrasintelHardware_Accelerated_Execution_Manager
并运行名为 intelhaxm 的文件-android.exe
.
如果您收到诸如未启用英特尔虚拟化技术 (vt,vt-x)"之类的错误.转到您的 BIOS 设置并启用硬件虚拟化.
3) 重启 Android Studio,然后再次尝试启动 AVD.
显示模拟器窗口可能需要一两分钟.
I tried to run my Hello World application in Android Studio. I got the following error:
Emulator: ERROR: x86 emulation currently requires hardware acceleration!
Please ensure Intel HAXM is properly installed and usable.
CPU acceleration status: HAX kernel module is not installed!
Can you tell me what I can do with the error?
As per this response, the complete steps are:
1) Open SDK Manager (In Android Studio, go to Tools > Android > SDK Manager) and Download Intel x86 Emulator Accelerator (HAXM installer) if you haven't.
2) Now go to your SDK directory C:users\%USERNAME%AppDataLocalAndroidsdkextrasintelHardware_Accelerated_Execution_Manager
and run the file named intelhaxm-android.exe
.
In case you get an error like "Intel virtualization technology (vt,vt-x) is not enabled". Go to your BIOS settings and enable Hardware Virtualization.
3) Restart Android Studio and then try to start the AVD again.
It might take a minute or 2 to show the emulator window.
这篇关于仿真器:错误:x86 仿真当前需要硬件加速的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!