Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Your project's Gradle version is incompatible with the Java version that Flutter is using │ │ for Gradle. #78

Open
Vijeth03 opened this issue Feb 4, 2024 · 3 comments

Comments

@Vijeth03
Copy link

Vijeth03 commented Feb 4, 2024

Build failed with an exception.

  • What went wrong:
    Could not open settings generic class cache for settings file 'C:\Users\vijet\StudioProjects\mi_card_flutter\android\settings.gradle' (C:\Users\vijet.gradle\caches\7.0.2\scripts\9ro1u0k9hdyieqwldgdt37f3r).

BUG! exception in phase 'semantic analysis' in source unit 'BuildScript' Unsupported class file major version 61

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 1s

┌─ Flutter Fix ────────────────────────────────────────────────────────────────────────────────────┐
│ [!] Your project's Gradle version is incompatible with the Java version that Flutter is using │
│ for Gradle. │
│ │
│ To fix this issue, consult the migration guide at docs.flutter.dev/go/android-java-gradle-error. │
└──────────────────────────────────────────────────────────────────────────────────────────────────┘
Exception: Gradle task assembleDebug failed with exit code 1

@YanevichStas99
Copy link

Same issue

@dbasis653
Copy link

So, this issue is not going to get solved ?

@OnceDeadPhoenix
Copy link

A new updated flutter tutorial would be good...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants