Koljenka
Koljenka

Reputation: 115

Emulator does not start (c066d201: unhandled exit 1d)

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

Answers (2)

butaminas
butaminas

Reputation: 840

Using Mac OS 11 Beta 6 (20A5364e) here. None of the solutions I found worked until I've tried this:

  1. Completely wipeout and reinstall Android Studio (not sure if this is necessary, try skipping this step first. Use THIS as a guide)
  2. Create your virtual device (if haven't already).
  3. Now instead of running your device normally, open AVD manager and click Cold Boot Now: Cold Boot Now option
  4. You will see a warning message, just click DISMISS and your device will start booting: emulation engine failed message

Upvotes: 3

smoothdvd
smoothdvd

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

Related Questions