1

I am unable to connect the android studio emulator with the vs code editor enter image description here

In image it shows no devices

However when i checked with the flutter doctor command it showed 1 device connected enter image description here

Aman Lahariya
  • 305
  • 3
  • 11

2 Answers2

1

You could try select the emulator manually. In your VSCode press CTRL + P then type >Flutter: Launch Emulator and select an existing emulator or create a new Android Emulator.

Another option would be launching the application through the VSCode terminal. Run flutter emulators to get the list of emulators and then flutter emulators --launch [emulator id]

flutter emulators

flutter emulators --launch <emulator id>

To launch a specific device:

flutter devices

flutter run -d <device id>
Misha Akopov
  • 12,241
  • 27
  • 68
  • 82
gasscoelho
  • 562
  • 5
  • 8
0

Refer this Link if you are a windows user. you could basically launch emulator from terminal.

Space
  • 133
  • 1
  • 2
  • 12