flutter-intellij
flutter-intellij copied to clipboard
Not seeing the "Flutter" option when I right-click the android folder in my Flutter project in Android Studio Meerkat 2024.3.1
I just created a new Flutter project in Android Studio Meerkat (2024.3.1). I have installed the Dart (243.23177) and Flutter (83.0.4) plugins for Android Studio, and I see no issues when I run
flutter doctor --verbose
Here's the output:
`% flutter doctor --verbose [✓] Flutter (Channel stable, 3.29.1, on macOS 14.5 23F79 darwin-arm64, locale en-US) [1,097ms] • Flutter version 3.29.1 on channel stable at /Users/lauren/Developer/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 09de023485 (2 weeks ago), 2025-02-28 13:44:05 -0800 • Engine revision 871f65ac1b • Dart version 3.7.0 • DevTools version 2.42.2
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.1) [1,874ms]
• Android SDK at /Users/lauren/Library/Android/sdk
• Platform android-35, build-tools 35.0.1
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
This is the JDK bundled with the latest Android Studio installation on this machine.
To manually set the JDK path, use: flutter config --jdk-dir="path/to/jdk".
• Java version OpenJDK Runtime Environment (build 21.0.5+-12932927-b750.29)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 16.2) [1,217ms] • Xcode at /Applications/Xcode.app/Contents/Developer • Build 16C5032a • CocoaPods version 1.16.2
[✓] Chrome - develop for the web [11ms] • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2024.3) [11ms] • 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 21.0.5+-12932927-b750.29)
[✓] VS Code (version 1.98.1) [9ms] • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.106.0
[✓] Connected device (3 available) [6.8s] • macOS (desktop) • macos • darwin-arm64 • macOS 14.5 23F79 darwin-arm64 • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 14.5 23F79 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 134.0.6998.89
[✓] Network resources [474ms] • All expected network resources are available. `
According to the documentation: https://docs.flutter.dev/tools/android-studio
I should see Flutter > Open Android module in Android Studio
What do I have to do in order to see the "Flutter" drop-down menu when right-clicking the "android" folder of my Flutter project?
See also: https://github.com/flutter/flutter-intellij/issues/7103.
@jwren: is there a plan to restore this action? (If not, we should at least update the docs...)
Thanks @pq, yes we need to see if it is possible, and make a decision here.
This is a somewhat annoying change. Was there a reason for the removal of this feature?
Hey, I'm having the same issue. Complete newbie not sure how to resolve this issue to progress with my course
Hey, I'm having the same issue. Complete newbie not sure how to resolve this issue to progress with my course
Currently I believe the only options are to downgrade android studio back to a version like electric eel where this option is available (doing this is a pita and I do not recommend it) or with your current version go to file > open project folder > select and open the android folder within your desired flutter project. Sorry if I didnt get the exact names right, I'm recalling the process from memory. This will open up the android module and will allow you get your signed app bundles and whatnot.
The "Open in Android Studio" code was commented out due to and Android Studio API that was required, but removed last year, GradleProjectImporter.importAndOpenProjectCore().
See https://github.com/flutter/flutter-intellij/blob/2c39bc52300481559b92c261a5d8b019a765c95c/src/io/flutter/actions/OpenInAndroidStudioAction.java#L37
The first step here would be to revert the changes in this PR, https://github.com/flutter/flutter-intellij/commit/dd5a521382bf20f6cfb1121851f38c398fc9dbaa, and then test to see if the issue still exists (https://github.com/flutter/flutter-intellij/issues/7103) and modify the action as necessary.
Closing this as a duplicate of #7599