21
votes

I am running an android application on emulator. It was working fine till yesterday and today I updated android studio. I am getting following error. How to resolve this?

emulator: WARNING: Increasing RAM size to 1GB emulator: ERROR: x86 emulation currently requires hardware acceleration! Please ensure Intel HAXM is properly installed and usable. CPU acceleration status: HAXM must be updated (version 1.1.1 < 6.0.1).

7
Hello,I suggest you to update your android sdk ,and update required hardware accelaration.JIGAR
my suggestion is use genymotion thisAmit Basliyal

7 Answers

55
votes

Start the Android SDK Manager, select Extras and then select Intel Hardware Accelerated Execution Manager. and your download completed here.

if still not works

Got to your SDK folder and goto

/extras/intel/Hardware_Accelerated_Execution_Manager/IntelHAXM.exe.

Follow the on-screen instructions to complete installation.

Or for OS X you can do it without onscreen prompts like this

/extras/intel/Hardware_Accelerated_Execution_Manager/HAXM\ installation

After installation completes, confirm that the virtualization driver is operating correctly by opening a command prompt window and running the following command: sc query intelhaxm

To run an x86-based emulator with VM acceleration: If you are running the emulator from the command line, just specify an x86-based AVD: emulator -avd <avd_name>

Also before executing the commands mentioned above, ensure that you've enabled the 'Virtualization' in your system setting through BIOS setup

If you follow all the steps mentioned above correctly, then surely you should be able to see your AVD with HAXM coming up normally.

18
votes

I had to uninstall version 1.1.1 by going to:

C:\Users\userid\AppData\Local\Android\sdk\extras\intel\Hardware_Accelerated_Execution_Manager>

then type in silent_install.bat -v to verify the current version. then silent_install.bat -u to uninstall then silent_install.bat to install version 6.0.1 in my case.

14
votes

Go To Your Android SDK ----> Run SDK Manager as Admin.

GO down and check Extras---> Update Intel Emulator Accelator (HAXM installer).

Then Restart Android Studio and Run Your AVD.

8
votes

I had the same issue, apparently, i had installed HAXM manually directly from Intel. And I guess it's conflicting with that of the Android SDK.

So I downloaded and installed the updated version from Intel at HAXM download page. This solved my HAXM [conflict] problem

4
votes

At first you have to uninstall HAXM from:

Control panel > Add/remove program

After that go to here and download HAXM and install it manually.

This worked for me .

3
votes

If the SDK manager thinks you have the latest version, simply go to the SDK folder and run the silent_install.bat file.

Mine was here:

C:\Users\userid\AppData\Local\Android\sdk\extras\intel\Hardware_Accelerated_Execution_Manager\silent_install.bat

It will start working immediately, no need to restart Android Studio. It's probably because the SDK manager had insufficient permissions.

0
votes

When I tried to install version 6.0.3 after I downloaded the update, intelhaxm-android.exe showed a windowed message for 1/10sec (i.e. I could not read it, since I don't know how to stop time) and did nothing after that. I had to locate and run 'setup.exe' among the files extracted by intelhaxm-android.exe. This time there was a prompt saying "Intel Hardware Accelarated Manager version 1.1.1 is already installed. Do you want to install version 6.0.3?" I replied 'Yes', an installation Wizard was opened and that was it. HAXM 6.0.3 was finally installed and the emulator run again. (Note: You might have to locate the exact 'setup.exe' file (there are four od them) that was run in the installation. You can locate it towards the end of the log file created by intelhaxm-android.exe. The message is something like that: "{temp folder}\Intel\HAXM\6.0.3\2016-09-13_14-35-22\setup.exe was launched".)