Failed to start Android emulator on Mac

I am working on an Android project, I am using an 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 Android emulator, it will 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 problems with the solution in Google and SO, but I can not use these solutions for MAC ???

I followed all the steps listed here , but no luck, the emulator still failed to start. I think there is something to do with mac os.

Can someone tell me how to do this on MAC?

thanks

+6
source share
2 answers

First, make sure Intel HAXM is updated. You update it by opening the SDK and selecting it from the list. (Starting from 2016-07-08, the HASXM version for lattests 6.0.3).

Then on the Mac Android SDK, install: /Users/username/Library/Android/sdk/ , so you will need to run the script as sudo, as shown below:

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

If all goes well, the script will print a message: "Silent installation Pass!"

Then restart Android Studio and launch the application with the desired AVD.

+30
source

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

  • Delete all the AVDs that you have.
  • Go to Preferences Android SDK SDK Tools
  • Remove Android Emulator
  • Restart Android Studio.
  • Reinstall Android Emulator from the same place.
  • Create a new emulator. And voila!

What I personally did was in the process of fixing this.

  • I really reinstalled the entire android studio.
  • Fixed my $PATH variables. Next this
  • Then I tried reinstalling Android Emulator , which worked for me.

Hope this helps.

0
source

All Articles