运行android模拟器,emulator: ERROR: x86 emulation currently requires hardware acceleration!

时间:2020-12-18 23:46:07

运行android模拟器,emulator: ERROR: x86 emulation currently requires hardware acceleration!

问题:

运行android模拟器,emulator: ERROR: x86 emulation currently requires hardware acceleration!

分析:

电脑没有启用虚拟技术或者没有安装Intel HAXM软件。

解决方案:

1.确保BIOS中的Configuration(配置)中的Virtual technoly 为Enable(打开)

一般进入BIOS的方法是,电脑重启时按住F2(F12),设置Intel Virtual Technology为Enable状态,如下图:

运行android模拟器,emulator: ERROR: x86 emulation currently requires hardware acceleration!

2.下载Intel HAXM 软件;

步骤:

第一步:打开“Android Studio - SDK Manager”,如下图:

运行android模拟器,emulator: ERROR: x86 emulation currently requires hardware acceleration!

第二步:右侧选择“Android SDk” ,点击“SDK Tools”,然后选择“Intel x86 Emulator Accelerator (HAXM installer)”进行安装,如下图:

运行android模拟器,emulator: ERROR: x86 emulation currently requires hardware acceleration!

第三步:查看并安装Intel HAXM

刚才所下载的软件,被放在:"SDK路径\extras\intel\Hardware_Accelerated_Execution_Manager"下,如下图:

运行android模拟器,emulator: ERROR: x86 emulation currently requires hardware acceleration!

第四步,点击安装“intelhaxm-android.exe”,如下图:

运行android模拟器,emulator: ERROR: x86 emulation currently requires hardware acceleration!

第五步,启动Andorid Studio - AVD Manager,如下图:

运行android模拟器,emulator: ERROR: x86 emulation currently requires hardware acceleration!

打开模拟器,如下图:

运行android模拟器,emulator: ERROR: x86 emulation currently requires hardware acceleration!