-
Notifications
You must be signed in to change notification settings - Fork 324
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flutter Intellij/Android Studio plugin shows "no devices" while cli and VSCode show all devices #4642
Comments
This should be fixed in the current dev channel build. |
Thank you, but this is still not working for me. I've updated the plugin to This the output from
The plugin UI shows "Loading..." in the device-dropdown, followed by the |
We've had some success with closing the re-opening the project without restarting the IDE. You might try the stable channel of the SDK. The problem was caused by a change to the command line tool, but I'm not sure if that change made it into stable yet. |
This is working for me with latest master of the engine and the dev plugin.
|
i've got same issue... i think that issue involved only flutter plugin because flutter sdk works well. flutter doctor said that everything is ok (apart xcode but i don't use it) and it show the physical connected device. from my android studio i can only run java or kotlin android app (not flutter app). |
Thanks for the update @liorgonnen ! @pminel as mentioned above this appears to be fixed in the dev channel of the plugin (at least for the master channel of the SDK). We'll be publishing a new stable release this week, which will have that fix. |
Using the master channel of the SDK and dev channel of the plugin does not fixed this issue. |
I updated the flutter plugin to 47.0.2 in AS4.0. This dose not help either. |
@stevemessick @pennzht
|
Downgrade flutter to version 1.18.0-11.1.pre resolved for me... |
thanks @cyberdemon8. |
As you said, it did work well!!! |
For people seeing this issue, a fix for this has landed in flutter master (flutter/flutter#60546), and is being considered as a hot fix cherry-pick to more stable versions of flutter. |
(For people following along, the issue is triggered when XCode is not installed) |
fixed in 1.17.5. beta build (1.19) coming. |
OMG! Checkout to the master branch work for me! |
checkout to the master solve the problem for me.But there comes up a new problem: It build failed when I run
|
This isn't fixed in |
Yayyyyy !!! for me, the latest version of the plugin solves the bug even with the latest beta version of flutter without problems ;-)
|
Closing this issue since it has been fixed. @GeeJoe @MichaelM97 if you're still having problems, please feel free to open separate issues with |
Same bug happend to me when I was on flutter 1.22 --> stable channel. |
Problem:
How to solve: |
On MacBook air M1:
$ flutter doctor -v
[✓] Flutter (Channel stable, 2.0.5, on macOS 11.2.3 20D91 darwin-arm, locale en-FR)
• Flutter version 2.0.5 at /Users/louisbeaumont/binaries/flutter
• Framework revision adc687823a (10 days ago), 2021-04-16 09:40:20 -0700
• Engine revision b09f014e96
• Dart version 2.12.3
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at Library/Android/sdk/
• Platform android-30, build-tools 30.0.3
• ANDROID_HOME = /Users/louisbeaumont/Library/Android/sdk/
• 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-6915495)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.4, Build version 12D4e
• CocoaPods version 1.10.1
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
[✓] IntelliJ IDEA Ultimate Edition (version 2021.1)
• IntelliJ at /Users/louisbeaumont/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
[✓] Connected device (2 available)
• POCOPHONE F1 (mobile) • f9606db5 • android-arm64 • Android 10 (API 29)
• Chrome (web) • chrome • web-javascript • Google Chrome 90.0.4430.85
• No issues found! |
@louis030195 this seems to be a separate issue from the original one, so I recommend opening a new issue with your information plus your IntelliJ logs if you're willing to post them publicly (if not, let me know and you can send them to me via email). The IntelliJ logs are at Help > Show log in finder (and the file is called idea.log). |
@helin24 I don't think it is necessary, thanks to your answer I looked at logs and indeed IntelliJ was complaining about not finding adb so I added it to my PATH,
|
Worked on Ubuntu 21.10 with flutter-IntelliJ Dev & Android Studio Canary, I think it can apply on Android Studio Beta, Stable & Intellij IDEA too... |
Problem
Both IntelliJ (2020.1C) and Android Studio (4.0) with Flutter Plugin v46 consistently show "no-devices", even though the
flutter devices
and VSCode show all devices (web / Android)Running on MacOS Catalina 10.15.5
Steps to Reproduce
This is consistent. Things I've tried to resolve:
flutter config --android-sdk /path/to/sdk
flutter config --android-studio-dir /path/to/studio
adb
works from anywhereLogs
flutter config
output:flutter doctor -v
output:The text was updated successfully, but these errors were encountered: