Issue
I am running Flutter through Visual Studio Code. I have multiple emulators and need to delete some of these. However nothing works for me.
How do I delete an emulator?
I found this: https://developer.android.com/studio/command-line/avdmanager
I execute the command "flutter emulator" and get:
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 try:
android delete avd -n Pixel_2_API_29
And other combinations, but get the error:
Could not find a command named "android".
or:
Could not find a command named "delete".
This is surprisingly difficult to do.
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.
Answered By - Matt List
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.