Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio Emulator : Unhandled exit 1d (Mac OS : Big Sur Beta)

I installed the latest Android Studio on my Macbook Air (late 2014, Big Sur BETA). When I ran the emulator it gave me an unhandled exit 1d error. I have looked up all types of similar questions on Google/Stack Overflow/Youtube and I was not able to fix it.

Solutions that I have tried :

  1. I reinstalled my AVD and SDK and HAXM, and invalidated the cache and restarted Studio, but that gave me the same error.

  2. I made the file ~/.android/advancedFeatures.ini and wrote :

Vulkan = off
GLDirectMem = on

This solution worked once but it crashes the next time I open the emulator or close and restart the emulator (I did not change anything meanwhile) and it gave me the same error as well.

  1. I tried to open the emulator using: ~/Library/Android/sdk/emulator/emulator -gpu host -avd Pixel_2_API_28 which showed me the same error(on SDK 28, 29, and 30 as well).

Please help as I have an android class at my University and I need to make a project for it.

like image 979
Vipul Sharma Avatar asked Sep 03 '20 07:09

Vipul Sharma


1 Answers

This is the command that worked for me, on a MacBook Pro (2016) running a Big Sur Beta:

~/Library/Android/sdk/emulator/emulator -gpu host -avd Pixel_3 -netdelay none -netspeed full

Once the emulator successfully started up, I was able to build the app directly from Android Studio and it launched properly on the emulator.

like image 186
kbrady Avatar answered Oct 05 '22 05:10

kbrady