Can't delete virtual device from Eclipse, android

前端 未结 6 1203
面向向阳花
面向向阳花 2020-12-12 11:13

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

6条回答
  •  余生分开走
    2020-12-12 11:52

    I had this issue as well.. was not able to find/see the .android folder in $home. I do not know if it is hidden or what. If you double click a android device in AVD manager it will show you the path of the "running avd" which is exactly where everyone says it should be. Since I could not delete these files using the GUI I used CLI (terminal to do so). You can utilize the following commands [cd] for changing directory [rm -R] to remove a file. Step by step:

    1. from terminal cli which will look something like this:

      nameOfYourMac:~ MacUser$

    2. type

      cd .android/avd

      (directory changes)

      nameOfYourMac:avd MacUser$

    3. Type

      rm -R nameOfYourVirtualDevice.avd

    Pretty easy. Now you should be able to delete the device in Eclipses' AVD Manager.

提交回复
热议问题