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
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
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>