Flutter Plugin not Compatible with Android Studio 3.4 (Linux)
See original GitHub issueSteps to Reproduce
- Update Android Studio to 3.4
- Open a Flutter project
- There’s no support for Flutter in the IDE. If you go to “Plugins” settings you’ll see it says “Incompatible with the current Android Studio version”
Issue seems to only happen on Linux. My MacBook has no issues with Android Studio 3.4 and Flutter Plugin v34.0.2 But on My linux Machine I see the following error, this is also reported by another Linux user here
Version info
Android Studio 3.4
Build #AI-183.5429.30.34.5452501, built on April 10, 2019
JRE: 1.8.0_152-release-1343-b16-5323222 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 5.0.8-arch1-1-ARCH
[✓] Flutter (Channel stable, v1.2.1, on Linux, locale en_US.UTF-8) • Flutter version 1.2.1 at /opt/flutter • Framework revision 8661d8aecd (9 weeks ago), 2019-02-14 19:19:53 -0800 • Engine revision 3757390fa4 • Dart version 2.1.2 (build 2.1.2-dev.0.0 0a7dcf17eb)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3) • Android SDK at /home/edgar/Android/Sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-28, build-tools 28.0.3 • ANDROID_HOME = /home/edgar/Android/Sdk • Java binary at: /opt/android-studio/jre/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b16-5323222) • All Android licenses accepted.
[!] Android Studio (version 3.4) • Android Studio at /opt/android-studio ✗ Flutter plugin not installed; this adds Flutter specific functionality. ✗ Dart plugin not installed; this adds Dart specific functionality. • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b16-5323222)
[!] Connected device ! No devices available
! Doctor found issues in 2 categories.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:9
- Comments:12 (4 by maintainers)
Top GitHub Comments
Actually uninstalling, invalidating caches and installing the Flutter and Dart plugins again fixed the problem. This issue didn’t happen for Intellij Idea so I’m guessing the problem is with Android Studio.
Updating the dart and flutter plugin fixed the issue for me.