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.

Windows XP, Vista, 7, 8

For Windows Operating system you will find .android folder under C:/Documents and Settings//.android

This can be C:/Users/.android if you are running Windows 7 or Windows 8

Now look for AVD folder and delete all folders and files (.ini files) that has the name of the AVD you do not want

Hope it helps!



















Copyright © Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap