Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ERROR: x86 emulation currently requires hardware acceleration! (Android Studio)

Tags:

android

haxm

I'm currently have a problem with my Android Studio because I cannot run any application using an emulator. The full error that comes up when trying to run an application is...

Emulator: emulator: ERROR: x86 emulation currently requires hardware acceleration!

Emulator: Process finished with exit code 1

I have Intel Haxm fully installed (when running intelhaxm-android.exe it only gives me the option to remove) and have tried using both the API 27 and 28.

Any help would be appreciated :)

like image 655
Taylor Avatar asked Jul 24 '18 01:07

Taylor


People also ask

How do I fix HAXM not installed?

Option 1: Go to Android SDK Folder --> Extra --> Intel and double click on HAXM installer and install it manually. Option 2: If you do not have latest version of HAXM then you can open sdk manager in android studio and download it. Save this answer.


1 Answers

I was having the same issue. Doing the following steps solved the issue.

  1. Check if Virtualization is enabled under BIOS. If not, do so. It is usually under CPU settings.

  2. In Android studio, check that under SDK_Manager>Android_SDK>SDK Tools> Intel x86 Emulator Accelerator (HAXM installer) is checked. If not,check it and press OK. It will install HAXM.

  3. If the problem still persists (Which is the usual case for latest Windows 10 updates), on windows control panel search for Turn Windows features on or off. Put check in Window HyperVisor Platform as below.

Windows HyperVisor On

Now, run AVD and it should work.

like image 129
Saif Kabir Asif Avatar answered Sep 30 '22 16:09

Saif Kabir Asif