The Android Virtual Device myEmulator is currently running an emulator and cannot be deleted.

Android Virtual Device cannot be deleted
Android Virtual Device cannot be deleted

I recently had trouble deleting old emulators from my AVD Manager.

The Android Virtual Device 'myEmulator' is currently running an emulator and cannot be deleted.

I did delete all the AVD processes that were running on my Mac OS X but still, the error persisted. (check if AVD is running through Activity Monitor on Mac or Task Manager on Windows)

To resolve this issue you need to locate the .android folder on your HDD. The location for

.android

folder is different depending on what Operating System you have.

macOS/Linux/UNIX

  1. Go to terminal.
  2. Goto root by typing : cd \
  3. Goto Users/
  4. Now type : cd .android
  5. Now type : cd avd

You would see directories with emulator names. Delete all those emulator's (.ini and .avd) files from here that you do not want.

Alternate way: You need to unhide hidden folders on your Mac OS X to see .android folder. ( how to see hidden folders on macOS: link )

Goto Users Directory where Android Eclipse software has been installed. Now look for a hidden .android directory. Get into AVD dir and delete the file and folder that have your emulator name.

Go-to AVD Manager and refresh and you would see that the AVD is been deleted.

Comments & Discussion

Facing issues? Have questions? Post them here! We're happy to help!