As I said, it was working fine two days ago. And since nothing changed on my machine, it must be a server related issue.
Log:
Error: Checking Java JDK and Android SDK versions
ANDROID_SDK_ROOT=~~/androidSDK (recommended setting)
ANDROID_HOME=~~/androidSDK (DEPRECATED)
Using Android SDK: ~~/androidSDK
:wrapper
BUILD SUCCESSFUL in 0s
1 actionable task: 1 executed
Subproject Path: CordovaLib
Subproject Path: app
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:/~~/command_line_interface.html#sec:command_line_warnings
(node:374659) [DEP0128] DeprecationWarning: Invalid 'main' field in '~~/package.json' of '~~/index.js'. Please either fix that or report it to the module author
(Use `node --trace-deprecation ...` to show where the warning was created)
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* Where:
Script '~~/cordova.gradle' line: 125
* What went wrong:
A problem occurred evaluating project ':app'.
No match found
* 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.
==============================================================================
2: Task failed with an exception.
-----------
* What went wrong:
A problem occurred configuring project ':app'.
com.android.builder.errors.EvalIssueException: compileSdkVersion is not specified. Please add it to build.gradle
* 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
BUILD FAILED in 804ms
Command failed with exit code 1: ~~/gradlew cdvBuildDebug -b ~~/build.gradle