Friday, January 15, 2016

[Android][Resolved][with images] emulator: Error:x86 emulation currently requires hardware acceleration!

Background:
I added a new emulator device in Android Device Manager. While i was running the emulator i got this error message:

Full Error message:
Cannot launch AVD in emulator.
Output:
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!
Detailed information:
Android Studio v1.5.1
Windows platform
Way to solve that:

Step 1: 

Open the Android SDK Manager by clicking "Tools"->"Android" ->"SDK Manager".

Step 2:

Make sure you are at "Appearance & Behavior-> System Settings->Android SDK", and then "SDK Tools" tab. Click the checkbox next to "Intel x86 Emulator Accelerator (HAXM installer), rev 6.0.1" and click OK button.


Step 3:

After finish the installation of Intel x86 Emulator Accelerator (HAXM installer), close Android studio and go to your SDK manager root, then then visit the directory "extras > intel > Hardware_Accelerated_Execution_Manager", run intelhaxm-android.exe.
For my case , the directory is :
C:\Users\username\AppData\Local\Android\sdk\extras\intel\Hardware_Accelerated_Execution_Manager

p.s. AppData folder is a hidden file, if you can't see that pls click "Show hidden files, folders, and drives":

Step 4: 

And then it would pop up a installation wizard. If you got this error message "This computer meets requirements for HAXM, but VT-x is not turned on." during the installation, pls reference from this article:
http://terrapinssky.blogspot.hk/2016/01/windowsresolved-this-computer-meets.html
If you able to install  intel x86 Emulator, you can see this interface:

Step 5:

Restart android studio and then launch emulator.


 Reference:

http://stackoverflow.com/questions/26355645/error-in-launching-avd

1 comment :