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.
If the Android Emulator does not start properly, this problem is often related to discovering that your application's minimum SDK is higher than your emulator SDK. If that's not the case, make sure you have HAXM installer on your SDK Manager.
Build and package your app into an APK as described in Build and Run Your App. Start the emulator from the command line as described in the previous section, using any startup options necessary. Install your app using adb. Run and test your app on the emulator.
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
Using Mac OS 11 Beta 6 (20A5364e) here. None of the solutions I found worked until I've tried this:
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