vipin agrahari
vipin agrahari

Reputation: 2901

Error while starting emulator

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).

Upvotes: 21

Views: 35657

Answers (6)

Apostolos
Apostolos

Reputation: 3433

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".)

Upvotes: 0

Karam Melad
Karam Melad

Reputation: 225

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 .

Upvotes: 4

IanS
IanS

Reputation: 1604

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.

Upvotes: 3

paul
paul

Reputation: 181

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.

Upvotes: 18

aphoe
aphoe

Reputation: 2716

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

Upvotes: 8

Abhishek
Abhishek

Reputation: 1674

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.

Upvotes: 14

Related Questions