Hello,

A couple of days ago I was able to build cordova applications. Today I can
not build a cordova application. Did something change?

I am using gradle 8.5 on kernel 5.15.145. The "cordova requirements"
command result is

Requirements check results for android:
Java JDK: installed 17.0.6
Android SDK: installed true
Android target: installed android-33,android-32,android-31
Gradle: installed /usr/share/gradle/bin/gradle

Requirements check results for browser:

And the result for the build command "cordova build android" is

Checking Java JDK and Android SDK versions
ANDROID_HOME=/opt/android-sdk (recommended setting)
ANDROID_SDK_ROOT=/opt/android-sdk (DEPRECATED)
Using Android SDK: /opt/android-sdk

FAILURE: Build failed with an exception.

* What went wrong:
Could not initialize class org.codehaus.groovy.runtime.InvokerHelper

* 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 1s
Command failed with exit code 1: /usr/share/gradle/bin/gradle -p
/home/rdindir/Documents/workspaces/cdv-gas-milage/platforms/android wrapper
-b
/home/rdindir/Documents/workspaces/cdv-gas-milage/platforms/android/wrapper.gradle

Regards

Reply via email to