Device list doesn't shows in Android Studio using Flutter

Vadivel picture Vadivel · Mar 11, 2018 · Viewed 11.4k times · Source

I tried to develop app using Flutter(using Android studio IDE).Add flutter plugin & flutter SDK in studio and Everything is configured but emulator / real time device are not listed. Its shows error like "Unable to list devices: Unable to discover Android devices. Please run "flutter doctor" to diagnose potential issues" android studio with flutter

Ref link : https://flutter.io/setup-windows/#android-setup

https://flutter.io/get-started/test-drive/#androidsstudio

Answer

Hanhan picture Hanhan · Apr 25, 2018

configure flutter in terminal to detect Android SDK and Android Studio:

$ flutter config --android-sdk /path/to/android/sdk
$ flutter config --android-studio-dir /path/to/android/studio

then restart Android Studio/Intellij. source: https://github.com/flutter/flutter-intellij/issues/2113#issuecomment-383412308