macosandroid-studioandroid-emulatorandroid-virtual-device

Unable to launch Android virtual device on Android studio on Mac


I am unable to launch an Android virtual device in Android Studio on MacOS Big Sur 11.7.10. When I launch the virtual device, a pop-up appears saying "Please file a bug against Android Studio". I have attached a screenshot of the window where we chose the system image. On the right-hand side, we can see a warning for "Unknown Error." I have clicked the troubleshooting option, but the same pop-up appears and says "Please file a bug against Android Studio." I have tested multiple versions of Android Studio, but I am facing the same issue. Is there a way around this to solve this bug?[enter image description here](https://i.sstatic.net/2fzVqwUM.png)

I have tested multiple versions of Android Studio, but I am facing the same issue. Is there a way around this to solve this bug?


Solution

  • I was able to debug it by launching the AVD manually through cmd. The bug was as follows:

    The Android Emulator was using system libraries (like libc++) that expect macOS 12 or later, which is incompatible with version (macOS 11.7.10).

    Steps to debug it:

    Option 1: Update macOS

    If possible, upgrade your Mac to macOS 12 Monterey or later.

    Option 2: Downgrade Emulator Version

    Go to the official emulator archives and follow all the steps

    https://developer.android.com/studio/emulator_archive

    Download a version before December 2023, which should still support macOS 11.