Hello
I have issues to compile a very basic application (the by default application, without any change in it).
When I try to emulate the app, I have this message:
C:\Sites\Lab\MyCordova\Demo3>cordova emulate android
Checking Java JDK and Android SDK versions
ANDROID_SDK_ROOT=C:\Users\emili\AppData\Local\Android\Sdk\ (recommended setting)
ANDROID_HOME=C:\Users\emili\AppData\Local\Android\Sdk\ (DEPRECATED)
Using Android SDK: C:\Users\emili\AppData\Local\Android\Sdk
Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.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/7.5.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD SUCCESSFUL in 52s
1 actionable task: 1 executed
Subproject Path: CordovaLib
Subproject Path: app
Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details
FAILURE: Build failed with an exception.
* Where:
Settings file 'C:\Sites\Lab\MyCordova\Demo3\platforms\android\settings.gradle'
* What went wrong:
Could not compile settings file 'C:\Sites\Lab\MyCordova\Demo3\platforms\android\settings.gradle'.
> startup failed:
General error during conversion: Unsupported class file major version 62
Then a long list of files appears
Then I have these erro messages:
(...)
1 error
* 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 8.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/7.1.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 1m 28s
Command failed with exit code 1: C:\Sites\Lab\MyCordova\Demo3\platforms\android\gradlew cdvBuildDebug -b C:\Sites\Lab\MyCordova\Demo3\platforms\android\build.gradle
I have searched for hours what is the issue, but I don’t find it.
Any idea ?
Thanks in advance for any help,
Emilie