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 :
I reinstalled my AVD and SDK and HAXM, and invalidated the cache and restarted Studio, but that gave me the same error.
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.
~/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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With