2

I just open my flutter project in android studio but android studio cannot detect any device. I already installed two emulator from AVD manager but still I face with this error

Phantômaxx
  • 37,901
  • 21
  • 84
  • 115
  • I believe this [No devices connected](https://stackoverflow.com/questions/49045393/flutter-run-no-connected-devices) will help you – Seddiq Sorush Feb 25 '20 at 11:13
  • 1
    Does this answer your question? [flutter run: No connected devices](https://stackoverflow.com/questions/49045393/flutter-run-no-connected-devices) – Jonathan Coustick Feb 25 '20 at 12:10

2 Answers2

1

Mostly this happens when your Android SDK path is not configured. To do this you can do it as follow:

  1. First of all make sure make sure you followed the installation process

  2. Go to File -> Project Structure select Project from left tab and select <No SDK>

  3. Then from the devices list click on one of the AVDs to run enter image description here
  4. Make sure your build gradle correctly done
  5. Run flutter doctor to check if devices are connected
  6. Run your project
Seddiq Sorush
  • 2,709
  • 2
  • 20
  • 20
0

I found that the old virtual devices created from the Kotlin projects can't be used with Flutter. You need to recreate a new one for it to appear in the toolbar drop menu like the image below

enter image description here

Ray Chakrit
  • 404
  • 5
  • 7