0

Following is the error, when i run the command 'flutter emulators --launch Pixel_3a_API_25' in VS Code:

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'

How do i resolve this error? btw i'm using Garuda Linux system, if that helps

Abhijith A
  • 21
  • 2

1 Answers1

0

Did you install Flutter using snap? This issue has been reported with this installation previously. Try to launch the emulator using Android studio, to rule out if it's an avd problem or flutter installation problem. Also try launching it using emulator -avdand report back please.

Huthaifa Muayyad
  • 11,321
  • 3
  • 17
  • 49
  • Yes, i installed flutter using snap, and i can use emulators in android-studio but i usually works in VS Code. What you meant by "emulator -avd", is it a command? – Abhijith A Mar 28 '21 at 10:59
  • Yes, for example `emulator -list-avds`, checkout this link https://developer.android.com/studio/run/emulator-commandline – Huthaifa Muayyad Mar 28 '21 at 11:06
  • Also, this a problem reported in snap installs. I'd recommend installing it using the .tar. – Huthaifa Muayyad Mar 28 '21 at 11:07