Unable to launch android emulator in Mac
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.
- Delete all AVD's that you currently have.
- Go to
Preferences
>>Android SDK
>>SDK Tools
- Uninstall
Android Emulator
- Restart Android Studio.
- Re-install
Android Emulator
from the same place. - Create a new emulator. And Voila !
What i personally did, in the process of fixing this.
- I actually re-installed entire android studio. Followed this
- Fixed my
$PATH
variables. Followed this - Then i tried re-installing
Android Emulator
, which worked for me.
Hope this Helps.
Admin
Updated on July 24, 2022Comments
-
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 over 8 yearsHi farhan, i also encountered the same issue in past, give me some time to recall the solution, will do answer for you soon.
-
Admin over 8 yearsYour quick response will be highly appreciated :)
-
-
Byron about 7 yearsI was struggling with this issue for a while. I'd upvote this more if I could!
-
Henrik Hartz about 7 yearsI was having issues with my emulator suddenly not starting as well. This fixed it for me - thanks!
-
Ari almost 7 yearsStill struggling after doing as mentioned above. HAXM version is 6.1.1
-
Deko almost 7 yearsDid the trick!! Why cant Android studio just take care of that instead of developers executing some hidden shells..