Android emulators are not working on OSX Big Sur

后端 未结 6 1806
抹茶落季
抹茶落季 2021-02-20 04:03

I have upgraded the mac OS to Big Sur and none of the emulators are working. It seems that all Android emulators Fails on Mac OS Big Sur Beta. I deleted the old emulators and cr

6条回答
  •  滥情空心
    2021-02-20 04:36

    After trying many of the answers / comments on SO, found this workaround to work and be reproducible:

    1. Setup a new AVD

    I used Pixel 3 & 3a, API 30, default options

    1. Launch the AVD using the emulator CLI
    $ ~/Library/Android/sdk/emulator/emulator @Pixel_3a_API_30
    

    You'll see the infamous ...unhandled exit 1d

    1. Cancel the command with ⌃ + c or press the x on the emulator sidebar

    You should see a spinner about Saving State...

    1. Run the emulator again (step 2), this time it should show:

    5. Click DISMISS (or wait) and the emulator should boot into Android

    Note: Starting the same AVD from Android Studio / AVD Manager GUI will still run into this exception, so when you need it - start the emulator like in step 2.

提交回复
热议问题