Unable to launch android emulator in Mac

20,407

Solution 1

First, make sure that the Intel HAXM is up to date. You update it by opening the SDK and selecting it in the list. (As of 2016-07-08, the latests HAXM version is 6.0.3).

Then, on Mac, the Android SDK gets installed at: /Users/username/Library/Android/sdk/, therefore, you will need to run the script as sudo, as follows:

sudo sh ~/Library/Android/sdk/extras/intel/Hardware_Accelerated_Execution_Manager/silent_install.sh

If all goes well, the script prints the message: "Silent installation Pass!"

Then, restart Android Studio and run your app with the desired AVD.

Solution 2

I know I'm late, but here it goes.

  1. Delete all AVD's that you currently have.
  2. Go to Preferences >> Android SDK >> SDK Tools
  3. Uninstall Android Emulator
  4. Restart Android Studio.
  5. Re-install Android Emulator from the same place.
  6. Create a new emulator. And Voila !

What i personally did, in the process of fixing this.

  1. I actually re-installed entire android studio. Followed this
  2. Fixed my $PATH variables. Followed this
  3. Then i tried re-installing Android Emulator, which worked for me.

Hope this Helps.

Share:
20,407
Admin
Author by

Admin

Updated on July 24, 2022

Comments

  • Admin
    Admin almost 2 years

    I have been working on an android project, I am using android studio on my iMAC[Software OS X 10.9.5, Graphics Intel HD Graphics 5000 1024 MB, Processor 1.4 GHz Intel Core i5].

    When i try to open my application on an android emulator it get this error-

    emulator: ERROR: x86 emulation currently requires hardware acceleration!
    Please ensure Intel HAXM is properly installed and usable.
    CPU acceleration status: HAX kernel module is not installed! 
    

    I can find so many similar issues with solution on Google & SO, but i am unable to use those solutions for MAC???

    I followed all the steps given here but with no luck, still unable to launch emulator. I think there is something to do with mac os.

    Can anyone tell me how to do this on MAC ??

    Thanks

    • Hirdesh Vishwdewa
      Hirdesh Vishwdewa over 8 years
      Hi farhan, i also encountered the same issue in past, give me some time to recall the solution, will do answer for you soon.
    • Admin
      Admin over 8 years
      Your quick response will be highly appreciated :)
  • Byron
    Byron about 7 years
    I was struggling with this issue for a while. I'd upvote this more if I could!
  • Henrik Hartz
    Henrik Hartz about 7 years
    I was having issues with my emulator suddenly not starting as well. This fixed it for me - thanks!
  • Ari
    Ari almost 7 years
    Still struggling after doing as mentioned above. HAXM version is 6.1.1
  • Deko
    Deko almost 7 years
    Did the trick!! Why cant Android studio just take care of that instead of developers executing some hidden shells..