“Android 模拟器在启动期间以代码 -11 退出”错误显示在 vs 代码上,有什么解决方案吗?

问题描述

以下是错误,当我在 VS Code 中运行命令“Flutter emulators --launch Pixel_3a_API_25”时:

Image of the error (output of 'flutter emulators --launch Pixel_3a_API_25' command)

Output of the command 'flutter emulators'

Output of the command 'flutter doctor -v'

我该如何解决这个错误顺便说一句,我使用的是 Garuda Linux 系统,如果有帮助的话

解决方法

您是否使用 snap 安装 Flutter?之前已在此安装中报告过此问题。尝试使用Android studio启动模拟器,排除是avd问题还是flutter安装问题。 还可以尝试使用 emulator -avd 启动它并请报告。