It shows and when clicked a drop down always shows "Loading...", but nothing ever gets detected.
Even though adb detects the device.
It shows and when clicked a drop down always shows "Loading...", but nothing ever gets detected.
Even though adb detects the device.
Setting the correct path for "Flutter SDK path" under "Languages & Frameworks/Flutter" in Android Studio settings fixed the problem.
I had installed two flutter copies, the old one was dirty and not working. But I hadn't updated the path for the new copy in Android Studio.
It's always good to run flutter doctor
, when in doubt.
I had the same issue - make sure you enable USB Debugging in Developer Options on your device
I had the same problem, but it was solved reformating my pubspec.yaml file (I had a identation issue)
I had the same issue and none of the comments posted here helped me. After trying many things, I noticed that I had an unstable flutter version by running flutter version
, I changed then to a stable version (at the time this post was written it was version 1.17.3) by executing flutter version 1.17.3
, then I restarted android studio and flutter finally had recognised my device
you just need to set your android sdk path for the flutter using this command :
flutter config --android-sdk /path/to/Sdk
and you can get your sdk path(/path/to/Sdk) using this command :
echo $ANDROID_HOME