Flutter 移除/删除模拟器

Sim*_*mon 2 android-emulator visual-studio-code

我正在通过 Visual Studio Code 运行 Flutter。我有多个模拟器,需要删除其中一些。但是对我来说没有任何效果。如何删除模拟器?

我发现了这个:https : //developer.android.com/studio/command-line/avdmanager

我执行命令“flutter emulator”并得到:

Pixel_2_API_29 • Pixel 2 API 29 • Google • android Pixel_2_API_29_2 • Pixel_2_API_29_2 • Pixel 2 API 29 2 • Google • android flutter_emulator • flutter 模拟器 • Google • android flutter_emulator_2 • Flutter 模拟器 2 • Google • android

然后我尝试:

android delete avd -n Pixel_2_API_29
Run Code Online (Sandbox Code Playgroud)

和其他组合,但得到错误:

Could not find a command named "android".
Run Code Online (Sandbox Code Playgroud)

或者:

Could not find a command named "delete".
Run Code Online (Sandbox Code Playgroud)

这出乎意料地难以做到。

Mat*_*ist 6

您需要使用 Android 虚拟设备管理器 (AVD) 删除这些。打开 Android Studio 并选择工具 > AVD 管理器

这将显示您已设置的模拟器列表。然后,您将能够单击右侧的向下箭头,该箭头将为您提供删除选项。

在此处输入图片说明