Java 17
Flutter 3.7.12
Android Studio 2022.2.1 < /p>
Strong> Fehlermeldung :
Code: Select all
FAILURE: Build failed with an exception.
* What went wrong: Could not open settings generic class cache for settings file '.\android\settings.gradle' (.\.gradle\caches\6.8.3\scripts\9w4vzv9io97x5h1yfb63h0ld4).
> BUG! exception in phase 'semantic analysis' in source unit 'BuildScript' Unsupported class file major version 61
To fix this issue, first, check the Java version used by Flutter by running flutter doctor --verbose. Then, update the Gradle version specified in .\android\gradle\wrapper\gradle-wrapper.properties to be compatible with that Java version.
Code: Select all
java version "10.0.2" 2018-07-17
Java(TM) SE Runtime Environment 18.3 (build 10.0.2+13)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.2+13, mixed mode)