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:
- Restart the IDEs
- Execute
flutter config --android-sdk /path/to/sdk
- Execute
flutter config --android-studio-dir /path/to/studio
- Uninstall and reinstall the plugin
- Create a new Android AVD
- Start the AVD from the device pull-down menu
- Starting the IDE with the AVD already running
- Adding Android SDK to the system path (so
adb works from anywhere
Logs
flutter config output:
Settings:
enable-macos-desktop: true (Unavailable)
enable-web: true
android-sdk: /Users/lior/dev/android_sdk
android-studio-dir: /Applications/Android Studio.app
flutter doctor -v output:
[✓] Flutter (Channel beta, 1.19.0-4.1.pre, on Mac OS X 10.15.5 19F101, locale en-US)
• Flutter version 1.19.0-4.1.pre at /Users/lior/dev/flutter
• Framework revision f994b76974 (11 days ago), 2020-06-09 15:53:13 -0700
• Engine revision 9a28c3bcf4
• Dart version 2.9.0 (build 2.9.0-14.1.beta)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
• Android SDK at /Users/lior/dev/android_sdk
• Platform android-30, build-tools 30.0.0
• ANDROID_SDK_ROOT = /Users/lior/dev/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-6222593)
• All Android licenses accepted.
[✗] Xcode - develop for iOS and macOS
✗ Xcode installation is incomplete; a full installation is necessary for iOS development.
Download at: https://developer.apple.com/xcode/download/
Or install Xcode via the App Store.
Once installed, run:
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
sudo xcodebuild -runFirstLaunch
✗ CocoaPods not installed.
CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see https://flutter.dev/platform-plugins
To install:
sudo gem install cocoapods
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] 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)
[✓] IntelliJ IDEA Community Edition (version 2020.1.2)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin version 46.0.3
• Dart plugin version 201.7846.93
[✓] VS Code (version 1.46.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.11.0
[✓] Connected device (2 available)
• Web Server • web-server • web-javascript • Flutter Tools
• Chrome • chrome • web-javascript • Google Chrome 83.0.4103.106
Problem
Both IntelliJ (2020.1C) and Android Studio (4.0) with Flutter Plugin v46 consistently show "no-devices", even though the
flutter devicesand 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/sdkflutter config --android-studio-dir /path/to/studioadbworks from anywhereLogs
flutter configoutput:flutter doctor -voutput:[✓] Flutter (Channel beta, 1.19.0-4.1.pre, on Mac OS X 10.15.5 19F101, locale en-US) • Flutter version 1.19.0-4.1.pre at /Users/lior/dev/flutter • Framework revision f994b76974 (11 days ago), 2020-06-09 15:53:13 -0700 • Engine revision 9a28c3bcf4 • Dart version 2.9.0 (build 2.9.0-14.1.beta) [✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0) • Android SDK at /Users/lior/dev/android_sdk • Platform android-30, build-tools 30.0.0 • ANDROID_SDK_ROOT = /Users/lior/dev/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-6222593) • All Android licenses accepted. [✗] Xcode - develop for iOS and macOS ✗ Xcode installation is incomplete; a full installation is necessary for iOS development. Download at: https://developer.apple.com/xcode/download/ Or install Xcode via the App Store. Once installed, run: sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer sudo xcodebuild -runFirstLaunch ✗ CocoaPods not installed. CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side. Without CocoaPods, plugins will not work on iOS or macOS. For more info, see https://flutter.dev/platform-plugins To install: sudo gem install cocoapods [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] 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) [✓] IntelliJ IDEA Community Edition (version 2020.1.2) • IntelliJ at /Applications/IntelliJ IDEA CE.app • Flutter plugin version 46.0.3 • Dart plugin version 201.7846.93 [✓] VS Code (version 1.46.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.11.0 [✓] Connected device (2 available) • Web Server • web-server • web-javascript • Flutter Tools • Chrome • chrome • web-javascript • Google Chrome 83.0.4103.106