android-emulator

How to remove/delete an emulator?


I have multiple emulators and need to delete some of these.

How do I delete an emulator?

I found this:
https://developer.android.com/studio/command-line/avdmanager

I executed the command "flutter emulator" and got:

> Pixel_2_API_29     • Pixel 2 API 29     • Google • android  
Pixel_2_API_29_2   • Pixel 2 API 29 2   • Google • android  
flutter_emulator   • flutter emulator   • Google • android  
flutter_emulator_2 • flutter emulator 2 • Google • android

I then tried:

android delete avd -n Pixel_2_API_29

And other combinations, but got the errors:

Could not find a command named "android".

or:

Could not find a command named "delete".

Solution

  • You will need to remove these using the Android Virtual Device Manager (AVD). Open Android Studio and select Tools > AVD Manager

    This will display a list of emulators you have set up. You will then be able to click the down pointing arrow on the right side which will then give you a delete option.

    enter image description here