How to delete AVD manually

If you cannot delete the AVD from the Android Virtual Device Manager with the ‘The android virtual device XXX is currently running in an emulator and cannot be deleted’ message,

go to ~/.android/avd/ directory below your home directory and delete the *.avd and *.ini files associated with the problematic AVD.