my name is hasnaa ,and i have faced this error as ...
# community-support
h
my name is hasnaa ,and i have faced this error as i upgrade the flutter environment and try to work on a project with my team but this error is appear error: * What went wrong: Could not open cp_settings generic class cache for settings file 'D:\weather_app\Weather_Forecasting_App\android\settings.gradle' (C:\Users\lenovo\.gradle\caches\7.6.3\scripts\8q4oc62nf78wv2i8an06axmqa).
BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 65
o
As mentioned in the DM , you seem to be running with a wrong Java version which is too new for Gradle 7.6.3. For the rest, use #CAHSN3LDN
☝️ 1
FTTR https://docs.gradle.org/current/userguide/compatibility.html . 65 stands for Java 21, and it is supported starting from Gradle 8.4
☝️ 1