Search code examples
androidandroid-emulator

Can't delete virtual device from Eclipse, android


I have multiple virtual devices, some of them can't be deleted.

Error message is

The android virtual device XXX is currently running in an emulator and cannot be deleted

when I just have restarted Ubuntu and only started Eclipse.


Solution

  • In Linux/*nix and OSX:

    1. Find the .android folder in your $HOME directory.
    2. In .android there should be a avd folder
    3. In the avd folder should be one or multiple .ini file and a corresponding *.avd virtual device folder.
    4. Delete both the *.ini file and the *.avd folder you want to get rid of.
    5. Return to the Android sdk and AVD manager.