I am unable to launch android emulator on my macbook m1. Sometimes an error is displayed without the mac restarting and sometimes a pink screen is displayed for less than a second and mac restarts. I was using macOs BigSur previously and I am now on MacOs Ventura 13.2.1, but the problem has persisted regardless of the OS.
I have tried running android emulator using android studio as well as the m1 preview (https://github.com/google/android-emulator-m1-preview/releases). I tried almost everything I could search and find, some of them include:
Updating android studio multiple times (Currently on Android Studio Flamingo | 2022.2.1 Patch 2)
Changed from zulu jdk to java open jdk
https://www.arthurkoziel.com/qemu-on-macos-big-sur/ (qemu installed using homebrew)
Android Emulator stop working after update to 31.2.6 [M1/Apple Silicon]
Updated contents on Android studio > Settings > Appearance & Behavior > System settings > Android sdk > SDK Tools (Android emulator - 32.1.14, Android sdk platform tools - 34.0.3)
This doc contains the error logs for various cases: https://docs.google.com/document/d/1ssCN9tKIfHnmdGHLbmAlMBbeAPiMVbDwzZhPWhf4wvU/edit?usp=sharing
If anyone has faced a similar issue or has any insights on the matter, please help.