hi there
FAILURE: Build failed with an exception.
* What went wrong:
Could not open cp_settings generic class cache for settings file 'D:\ZCTURES\ZIQCO\SIDE\flutter projects\weblyflutter\android\settings.gradle' (C:\Users\KE MFONDISI\.gradle\caches\8.0\scripts\4i9fhf7rermnvbhvu3yvw878x).
> BUG! 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
ATTACHED FILES
Asked 3 weeks ago on May 29, 2025 4:48 PM Comments 7 times
kevin replied 2 weeks ago on June 3, 2025 3:59 AM
Hello
The error " unsupported class file major version 65 " is the error for taking unsupport jdk version, please use the following Android Studio version Android Studio Koala | 2024.1.1 Patch 2 and try
Note : With the Codencayan purchase what you get is the complete source code and NOT the support. (This is as per License policy from envato) We as authors go beyond the boundaries of license to help our item owners at our own cost. Envato or Client does not pay anything for it.We just noticed that your purchase is more than 6 months old. Our complementary support period is long expired for this purchase. We are afraid, we might not be able to provide assistance further. We recommend that you get external help from any freelancer or buy our paid support. Have a great day.
- Kevin
Ezekiel Mathokwe replied 2 weeks ago on June 2, 2025 1:55 PM
still not solved ok or mybe i will wait for the next new update and try again
kevin replied 3 weeks ago on May 31, 2025 6:55 AM
Hello
Please check the jdk version, the error indicate that it still take jdk version 21 or 22.
- Kevin
Ezekiel Mathokwe replied 3 weeks ago on May 31, 2025 5:44 AM
yes after making the version changes restarted my system many times.. alse cheked flutter doctor and environment variables
ATTACHED FILES
kevin replied 3 weeks ago on May 31, 2025 4:12 AM
Hello
After making the version changes did you restart the system and try ?
- Kevin
Ezekiel Mathokwe replied 3 weeks ago on May 30, 2025 1:15 PM
still am not solved any solution
ATTACHED FILES
kevin replied 3 weeks ago on May 30, 2025 4:05 AM
Hello
Please use the below mentioned version and try
Flutter version 3.29.3
jdk version 11
Android Studio Koala | 2024.1.1 Patch 2
- Kevin