PeshoO R. Marzouq
12/01/2024, 12:44 PMBUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 65* 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 4s āā 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 D:\PeshoPro\Eng Mohamed ā
ā Saad\flutter\Session16\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#java ā
ā ā
ā ā
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā