43

Emulator is not running. I had already installed HAXM 6.2.1. Please checkout the image.

enter image description here

So, I just reinstalled the HAXM. Anow now another problem occurs. Please checkout image second and third.

6:54 PM Emulator: Reason: Invalid argument

6:54 PM Emulator: coreaudio: Could not lock voice for audioInputDeviceIOProc

enter image description here enter image description here

Gaurab Kumar
  • 2,144
  • 2
  • 17
  • 29
jazzbpn
  • 6,441
  • 16
  • 63
  • 99

4 Answers4

100

Navigate to [Android SDK Folder] --> Extra --> Intel --> Hardware_Accelerated_Execution_Manager and double click on HAXM installer intelhaxm-android.exe (on Mac IntelHAXM_6.2.1.dmg) and install it manually.

If you do not have latest version of HAXM then you can open sdk manager in android studio and download it.

enter image description here

Although, this should be installed automatically when you install Android Studio. See below.

enter image description here

Answering @DougThompson Question: What if HAXM installer not installing automatically ?

enter image description here

In that case,

  1. you can download HAXM installer from https://software.intel.com/en-us/articles/intel-hardware-accelerated-execution-manager-intel-haxm.
  2. Keep the installer at [Android SDK Folder] --> Extra --> Intel
  3. Extract and install it manually.

now you are done.

Gaurab Kumar
  • 2,144
  • 2
  • 17
  • 29
  • 2
    Thank you!!! this is how I solved too. Maybe android studio did not launch the dmg? Anyway big thumbs up! – MacKentoch Mar 08 '18 at 09:18
  • @MacKentoch It should launch automatically when you install android studio. but unfortunately sometime it doesn't happen. – Gaurab Kumar Mar 08 '18 at 09:21
  • 1
    Totally awesome! Thanks (Thumbs up brother) – Argyle Ghost Mar 17 '18 at 02:46
  • Sorry @GaurabKumar, my Operating System is a mac OS Sierra, so I voted in the answer bellow, which our colleague #gMale, that was more specific in my case, only that I clicked on your post when commenting. but thanks also – Armando Marques da S Sobrinho May 29 '18 at 15:16
  • Certificate expired a few days ago. But can install newer version. See https://github.com/intel/haxm/issues/219#issuecomment-509053176 – s2t2 Jul 10 '19 at 23:05
16

On a Mac

  • navigate to [ANDROID_HOME]/extras/intel/Hardware_Accelerated_Execution_Manager
  • open and install IntelHAXM_6.2.1.dmg

The easiest way to do that from the CLI is to type open IntelHAXM_6.2.1.dmg then double click the IntelHAXM_6.2.1.mpkg file and follow the installation prompts.

Note: I tried running the silent_install.sh file in that folder and it failed so I'm guessing that's the root problem here–that script may have a bug with how it mounts the DMG.

Community
  • 1
  • 1
gMale
  • 17,147
  • 17
  • 91
  • 116
6

With Android Studio, you can find HAXM Installer under SDK tools tab.

enter image description here

Nguyen Minh Binh
  • 23,891
  • 30
  • 115
  • 165
1

What happens if you cannot uninstall it from the Control Panel? What happens when you cant locate the old version to download, to put into a folder for the MSI to uninstall? This is where your fancy 'clean up my PC' programs removed all the old installer temp files. So do you have to have a external hard drive for all your old installs? It would have been so nice if they used NPM and the uninstaller could always find the repository to remove the old version before updating to the new one. enter image description here