Kendra Lambillon
10/08/2024, 5:25 PMBUG! 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. ā ā ā ā If you recently upgraded Android Studio, consult the migration guide at ā ā https://flutter.dev/to/to/java-gradle-incompatibility. ā ā ā ā Otherwise, to fix this issue, first, check the Java version used by Flutter by running
flutter ā
ā doctor --verbose. ā
ā ā
ā Then, update the Gradle version specified in ā
ā C:\Users\Kendra\StudioProjects\dicee-flutter\android\gradle\wrapper\gradle-wrapper.properties to ā
ā be compatible with that Java version. See the link below for more information on compatible ā
ā Java/Gradle versions: ā
ā https://docs.gradle.org/current/userguide/compatibility.html#javaVampire
10/08/2024, 9:38 PM