I am trying to delete multiple emulators manually. The reason is because when I delete them from the avd manager, always indicates that the emulator is running .. not correct. I am using a Mac, use the terminal and finder, but I can not find the folder where the emulator
Can anyone help?
Thank you very much.
Best regards
If you work on a Mac OS X device, go to Activity Monitor App and look for ADB process that is running and terminate the process (if not then do a force close). Once done try deleting the AVD from AVD Manager.
From the Virtual tab of the Device Manager, you can perform the following operations on an existing AVD: To edit an AVD, click Edit this AVD and make your changes. To delete an AVD, click Menu and select Delete.
Deleting an emulatorIn Android Studio, open the AVD Manager from “Tools” → “AVD Manager”, where you'd normally launch an emulator. In the “Actions” column, click the arrow pointing down to open the menu for the emulator you want to delete. Select “Delete” and confirm in the dialog.
The emulator instances (AVDs) on OSX can be found in:
~/.android/avd
So, from a terminal:
cd ~/.android/avd
ls
will show you the emulators, and their configurations. Note that there is a .avd directory, as well as a .ini file for each emulator that exists.
Running:
rm -rf emulatorNameIWantToDelete.*
from the ~/.android/avd directory will manually remove that emulator.
Just be careful because the rm -rf command will delete something permanently.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With