Skip to content

No 'Flutter' menu option on android module #3873

@niamh-power

Description

@niamh-power

Steps to Reproduce

This is an issue in both Android Studio and IntelliJ. I've tried previous versions of both and still have the same issue.

Basically I'm wanting to do the Android X migration for our Flutter app in order to use the latest plugins, and I was having the issues detailed here https://stackoverflow.com/questions/54395491/unable-to-migrate-to-androidx/54618207 I then go to open just the android module in Android Studio rather than the whole project, and find that the Flutter option when right clicking is greyed out. To note when I do the same on the root project folder or the ios module, I get the option Open iOS module in Xcode under the non-greyed out Flutter menu item.

screenshot 2019-03-02 at 20 51 31

screenshot 2019-03-02 at 09 38 15

Logs

flutter doctor output:

[✓] Flutter (Channel stable, v1.2.1, on Mac OS X 10.14 18A391, locale en-GB)
    • Flutter version 1.2.1 at /Users/niamhpower/development/flutter
    • Framework revision 8661d8aecd (2 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 /Users/niamhpower/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = /Users/niamhpower/Library/Android/sdk
    • Java binary at: /Applications/Android Studio 3.4 Preview.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b22)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.2)
    • Xcode at /Applications/Xcode-beta.app/Contents/Developer
    • Xcode 10.2, Build version 10P99q
    • ios-deploy 1.9.4
    • CocoaPods version 1.6.0.beta.2

[✓] Android Studio
    • Android Studio at /Applications/Android Studio 3.4 Preview.app/Contents
    • Flutter plugin version 33.3.2
    • Dart plugin version 183.5901
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b22)

[✓] IntelliJ IDEA Community Edition (version 2018.2.5)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 31.3.3
    • Dart plugin version 182.5215

[!] VS Code (version 1.30.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    ✗ Flutter extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (1 available)
    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 9 (API 28) (emulator)

! Doctor found issues in 1 category.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions