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
  • 195
  • 3
  • 10

2 Answers2

0

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
  • 11,071
  • 26
  • 66
  • 81
gasscoelho
  • 383
  • 2
  • 7
0

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

Space
  • 103
  • 1
  • 2
  • 11