# Problems with compiled Cordova sample

**URL:** <https://discuss.gradle.org/t/problems-with-compiled-cordova-sample/45304>\
**Category:** Help/Discuss\
**Created:** [April 3, 2023, 2:47pm UTC](https://discuss.gradle.org/t/problems-with-compiled-cordova-sample/45304 "2023-04-03T14:47:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![leonet](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/leonet/32/10303_2.png) [@leonet](https://discuss.gradle.org/u/leonet)\
**Post date:** [April 3, 2023, 2:47pm UTC](https://discuss.gradle.org/t/problems-with-compiled-cordova-sample/45304/1 "2023-04-03T14:47:20Z")

</div>

Hello, i am not expert programmer, i need you compiled hibrid apps con Cordova but in sample basic 1 i have problems … this is error:

```gradle
What went wrong:
Could not open settings generic class cache for settings file 'D:\MagicApps\Cordova\MyApp\platforms\android\settings.gradle' (C:\Users\LeoNetCo\.gradle\caches\8.0.2\scripts\diw7lendx9m6xxk6jq15pi48o).
> BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 64

* 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

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/8.0.2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 1s
Command failed with exit code 1: C:\Gradle\gradle-8.0.2\bin\gradle.BAT -p D:\MagicApps\Cordova\MyApp\platforms\android wrapper -b D:\MagicApps\Cordova\MyApp\platforms\android\wrapper.gradle

```

Thanks for you guide

---

<div class="post-metadata">

**Author:** ![Vampire](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/vampire/32/9082_2.png) [@Vampire](https://discuss.gradle.org/u/Vampire)\
**Post date:** [April 3, 2023, 5:15pm UTC](https://discuss.gradle.org/t/problems-with-compiled-cordova-sample/45304/2 "2023-04-03T17:15:37Z")

</div>

`Unsupported class file major version 64` means you use Java 20.  
Now look at [Compatibility Matrix](https://docs.gradle.org/current/userguide/compatibility.html) 😉
