#
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


  1. Generic placeholder image

    kevin replied

    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.

    Thanks & Regards
    - Kevin
  2. Generic placeholder image

    Ezekiel Mathokwe replied

    still not solved ok or mybe i will wait for the next new update and try again

  3. 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
  4. 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

  5. Generic placeholder image

    kevin replied

    Hello

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

    Thanks & Regards
    - Kevin
  6. Generic placeholder image

    Ezekiel Mathokwe replied

    still am not solved any solution

    ATTACHED FILES

  7. 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 error starting 2 weeks ago on June 2, 2025 6:20 AM hi there 3 weeks ago on May 29, 2025 4:48 PM Class Schedule 3 weeks ago on May 29, 2025 10:35 AM First time installation... 1 month ago on May 18, 2025 10:09 AM App is showing blank afte... 1 month 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... 3 months ago on March 18, 2025 4:11 AM Build Faild 3 months ago on March 9, 2025 2:15 PM