Closed
Description
0
I've installed Android Studio with Flutter/Dart plugin on Win10. Android Studio 3.4.2 Flutter Plugin 38.2 Dart Plugin v183.6270
If i open a Flutter project in android studio, the device list always displays "loading", in the device list i see my three devices:
I selected one device and it opens on the emulator, but when i start the project this error message is displayed:
When i run "flutter devices", the device is listed as connected:
What is going wrong?
Activity
stevemessick commentedon Sep 19, 2019
Do you still see this problem after updating everything to latest (AS, plugin, SDK)?
tahmid-shahriar commentedon Sep 26, 2019
having the same problem with latest AS & Plugins
no-response commentedon Sep 26, 2019
Without additional information we're unfortunately not sure how to resolve this issue. We're going to close this bug for now, but please don't hesitate to comment on the bug if you have any more information for us; we're happy to reopen. Thanks for your contribution!
devoncarew commentedon Sep 26, 2019
We'll investigate and see if we can repro/
incognitojam commentedon Sep 26, 2019
I'm also having the same issue.
Output from
flutter doctor -v
:In this case I had no devices attached, but Android Studio shows "Loading..." in the devices dropdown for the flutter plugin. I get the same behaviour with a Pixel 2 XL attached. Running
flutter run
works as expected.EDIT: I tested installing IntelliJ IDEA and also had the same problem.
New
flutter doctor -v
output:and
flutter devices
:stevemessick commentedon Oct 28, 2019
I have not been able to duplicate this problem on either Mac or Windows. However, I think #4014 will fix it. Hopefully, we will get that PR into the M41 release.
39 remaining items
devmakovicz commentedon Jun 22, 2020
It's seem to me that VSCode can run without any issues related to devices. The bug is belong to JetBrains's IDE. Both Android Studio and Intellij have this problem. It took me the whole afternoon to find solution.
fly-qp commentedon Jun 22, 2020
Also works for me. I was trying too fix this issue for 5 days now. Problem after updating android studio. Problem really need to be solved!!
Andrauss commentedon Jun 22, 2020
This solved for me.
saaasaab commentedon Jun 22, 2020
Thank you. This solved the problem. I had been struggling with this for the past three days.
yasaracar commentedon Jun 22, 2020
Thank you, fixed it for me as well
Jijnyasa commentedon Jun 23, 2020
Thank you, fixed it for me as well
muhrahmatullah commentedon Jun 25, 2020
it is fixed in 1.17.3 but got the error again in 1.17.4
saturov commentedon Jun 25, 2020
Still experience this error. Very annoying.
`[✓] Flutter (Channel dev, 1.19.0-5.0.pre, on Mac OS X 10.15.5 19F101, locale ru-RU)
• Flutter version 1.19.0-5.0.pre at /Users/saturov/Library/flutter
• Framework revision c264b70ec3 (2 weeks ago), 2020-06-08 09:27:34 -0700
• Engine revision c7f9725521
• Dart version 2.9.0 (build 2.9.0-13.0.dev 87c5e3612b)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
• Android SDK at /Users/saturov/Library/Android/sdk
• Platform android-29, build-tools 29.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.5, Build version 11E608c
• CocoaPods version 1.9.1
[✓] Android Studio (version 4.0)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 46.0.2
• Dart plugin version 193.7361
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
`
vinipx commentedon Jun 25, 2020
Alternatively, according to official documentation you can:
mariolejom commentedon Jun 26, 2020
flutter downgrade to 1.17.3 was the solution for me.
hdralexandru commentedon Jun 26, 2020
Simply just downgrading to flutter 1.17.3 worked for me too!
Configuration:
Android Studio 4.0 Build #AI-193.6911.18.40.6514223, built on May 20, 2020,
macOS Catalina 10.15.5
mludovico commentedon Jun 26, 2020
After multiple attempts the only one that solved was downgrading to 1.17 despite it seems to be an issue with Android Studio as for VSCode still working with the last version.
MacOS High Sierra 10.13.6
Android Studio 4.0
helin24 commentedon Jun 26, 2020
This is fixed in the latest flutter-intellij plugin version, 47.0.3
If upgrading to the latest plugin version does not fix your issue, please open a separate issue.