#
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 days ago on May 29, 2025 4:48 PM Comments 5 times


  1. Generic placeholder image

    kevin replied

    Hello

    Please check the jdk version, the error indicate that it still take jdk version 21 or 22.

    Thanks & Regards
    - Kevin
  2. Generic placeholder image

    Ezekiel Mathokwe replied

    yes after making the version changes restarted my system many times.. alse cheked flutter doctor and environment variables

    ATTACHED FILES

  3. Generic placeholder image

    kevin replied

    Hello

    After making the version changes did you restart the system and try ?

    Thanks & Regards
    - Kevin
  4. Generic placeholder image

    Ezekiel Mathokwe replied

    still am not solved any solution

    ATTACHED FILES

  5. Generic placeholder image

    kevin replied

    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

    Thanks & Regards
    - Kevin
Recent Tickets
river is not receiving ri... 4 months ago on January 29, 2025 9:03 AM hi there 3 days ago on May 29, 2025 4:48 PM Class Schedule 3 days ago on May 29, 2025 10:35 AM First time installation... 2 weeks ago on May 18, 2025 10:09 AM App is showing blank afte... 3 weeks ago on May 8, 2025 2:57 PM The app Issue 1 month ago on April 30, 2025 6:44 PM Unable to setup back end ... 2 months ago on March 27, 2025 3:48 AM Friend Request and Distan... 2 months ago on March 18, 2025 4:11 AM Build Faild 2 months ago on March 9, 2025 2:15 PM Error during build... 2 months ago on March 4, 2025 8:51 PM