Lobito
Lobito

Reputation: 147

Android Studio 3.1.2. AVD Incompatible HAX module version 3,requires minimum version 4

19:58   Emulator: Incompatible HAX module version 3,requires minimum version 4

19:58   Emulator: No accelerator found.

19:58   Emulator: failed to initialize HAX: Invalid argument

19:58   Emulator: emulator: ERROR: Missing initial data partition file: C:\Users\Wolfgang\.android\avd\SAMSUNG_S7_API24.avd/userdata.img

19:58   Emulator: Process finished with exit code 0

I recently updated my Android Studio version and since I work on the version 3.1.2. built 13.04.18 - shown in "About". My old device configured most likely on version 2.1 caused this error first, later I configured a new device with more or less the same parameters: API 24 (Nougat 7.0); Screen 5.1. and this device caused the above error protocol.

My OS is Windows 8.0.

Upvotes: 12

Views: 12823

Answers (6)

Haritsinh Gohil
Haritsinh Gohil

Reputation: 6272

i was running Android Studio on windows and faced same error but after i seen referenced answer i realized that in some case we have to start HAXM installer manually in order to use it:

So Go to your Android SDK folder, in my case it was C:\Users\[user's name]\AppData\Local\Android\Sdk\extras\intel\Hardware_Accelerated_Execution_Manager\ then there you will see intelhaxm-android.exe file,

Click on it and run it after finishing installation launch the avd device again then it will surely run (at least it ran in my case )

NOTE: if you are running it on Mac then see the Referenced answer it contains detail for windows and Mac Both.

ref: https://stackoverflow.com/a/36880666/10088459

Upvotes: 0

vitralyoz
vitralyoz

Reputation: 618

Go to $ANDROID_HOME/extras/intel/Hardware_Accelerated_Execution_Manager

and run installer exe (intelhaxm-android.exe). after this everything will be ok.

Upvotes: 0

yosef  girma
yosef girma

Reputation: 181

Here is what i did:

  1. Go to https://github.com/intel/haxm/releases/ and download the latest release.
  2. Install it.
  3. Restart the emulator again.

That is what worked for me.

Upvotes: 6

smark
smark

Reputation: 43

It's worked for me to install the new version HAXM

https://software.intel.com/en-us/android

enter image description here

Upvotes: 0

Bhaskara Arani
Bhaskara Arani

Reputation: 1657

Goto Tools -> SDK Manager below screen will open

enter image description here

then select the Intel x86 Emulator Accelerator (HAXM installer) and apply, it will install the HAXM

Upvotes: 12

mpountou
mpountou

Reputation: 838

I had the same problem here. After updating android studio to latest version i was asked to update

  • Intel x86 Emulator Accelerator (HAXM installer)

now everything works fine.

Also check how to install the Intel HAXM and how to find android sdk files location

Upvotes: 7

Related Questions