0

enter image description here

The emulator process for avd has terminated(Android Studio)

Lahata
  • 1
  • Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. – Community Dec 22 '21 at 10:18

3 Answers3

1

The main root cause of that issue is lack of free space on your disk

GoldBerg
  • 106
  • 5
0

I got exactly the same issue when I shut down the emulator while the process is still running in command line. It is caused by the multi instance lock. You can try the following:

  1. Open AVD manager and find the emulator you are using, open the drop down options and click "open on disk", it will open ...\Pixel_X_API_xx.avd
  2. Delete the file called multiinstance.lock, you may be asked to kill a process which names like qemuXXX, do that in your Task Manager.
  3. Reopen the emulator, if still not working, delete any file related to "lock" in the folder.
  4. If still not working, uninstall the emulator and install it again.

This is one of the most ANNOYING issues of Android Studio. I cannot understand why they haven't solved it so far.

0

The emulator tends to leave zombie processes lying around when it is terminated, particularly if the device it was running wasn't powered down by pressing the power button.

Look for processes with qemu or emulator in their names and kill them. You may need kill -9 on Linux. This will delete the lock files and enable the emulator to restart.

Also look at the answers to

Why does latest Android Studio emulator crash or get stuck

Richard Parkins
  • 347
  • 2
  • 13