Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 255
Lobito Avatar asked May 04 '18 19:05

Lobito


3 Answers

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

like image 73
Bhaskara Arani Avatar answered Nov 17 '22 20:11

Bhaskara Arani


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.

like image 39
yosef girma Avatar answered Nov 17 '22 19:11

yosef girma


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

like image 7
mpountou Avatar answered Nov 17 '22 20:11

mpountou