Skip to content

Flutter analyze --suggestions gives false negative #175669

Description

@reidbaker

When working on a different issue I was updating agp/gradle/java to see if an update fixed my reproduced issue and I got this message.

│ Incompatible Java/Gradle versions.                                │
│ Java Version: 17.0.15, Gradle Version: 8.13

When the documentation indicates that those versions should be compatible https://docs.gradle.org/current/userguide/compatibility.html#java and the app compiles and runs successfully.

found with flutter 3.35.4.

Activity

  1. lielvan commented on Sep 21, 2025

    @lielvan

    Same here with Java version 21:

     │ Incompatible Java/Gradle versions.                                │
     │ Java Version: 21.0.7, Gradle Version: 8.13                        │
    
  2. reidbaker commented on Sep 22, 2025

    @reidbaker
    ContributorAuthor

    @lielvan thank you for the example. I have added it as a regression test in my pr that updates our known versions with the latest documented support windows.

  3. added
    P1High-priority issues at the top of the work list
    triaged-androidTriaged by Android platform team
    on Sep 23, 2025
  4. self-assigned this
    on Sep 23, 2025
  5. added a commit that references this issue on Oct 7, 2025
    6413208
  6. github-actions commented on Oct 9, 2025

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  7. locked as resolved and limited conversation to collaborators on Oct 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work listplatform-androidAndroid applications specificallyteam-androidOwned by Android platform teamtriaged-androidTriaged by Android platform team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions