Reputation: 115
After I deleted some old AVDs and creating a new one, I cant get any AVD to start. If I start them through Android-Studio, the AVD window will launch but the screen stays black and Android-Studio stops responding. If I start the AVD through the command line with the following command:
./emulator @Pixel_3_Api_19
The behaviour is the same and I get the following output in the console:
emulator: WARNING: encryption is off
emulator: WARNING: Running on a system with less than 6 logical cores. Setting number of virtual cores to 1
emulator: WARNING: EmulatorAdvertisement.cpp:80: Overwriting existing discovery file: /Users/koljenka/Library/Caches/TemporaryItems/avd/running/pid_2730.ini
c066d201: unhandled exit 1d
c066d201: unhandled exit 1d
c066d201: unhandled exit 1d
c066d201: unhandled exit 1d
The c066d201: unhandled exit 1d
line is printed constantly.
I'm running a 2017 MacBook Pro with MacOS Big Sur Dev Beta, but i had the emulator running fine on the dev beta before deleting the old AVDs.
Upvotes: 10
Views: 3809
Reputation: 840
Using Mac OS 11 Beta 6 (20A5364e) here. None of the solutions I found worked until I've tried this:
Upvotes: 3
Reputation: 2448
Use option -gpu host.
You run emulator correctly like this
~/Library/Android/sdk/emulator/emulator -gpu host -avd Pixel_2_API_30
or try this:
create a file named advancedFeatures.ini in ~/.android
Put following settings in it:
Vulkan = off GLDirectMem = on
Upvotes: 24