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 e
I've been looking for the java code and this error really mean you have an AVD running... Have you tried kill'em all with top or htop (which is way better).
// check if the AVD is running
if (avdInfo.isRunning()) {
display.asyncExec(new Runnable() {
public void run() {
Shell shell = display.getActiveShell();
MessageDialog.openError(shell,
"Delete Android Virtual Device",
String.format(
"The Android Virtual Device '%1$s' is currently running in an emulator and cannot be deleted.",
avdInfo.getName()));
}
});
return;