@jaypal412 wrote:
Checking Java JDK and Android SDK versions
ANDROID_SDK_ROOT=C:\Users\Koru\AppData\Local\Android\Sdk (recommended setting)
ANDROID_HOME=C:\Program Files\Android\Android Studio\bin (DEPRECATED)
Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for detailsBUILD SUCCESSFUL in 5s
1 actionable task: 1 executed
Subproject Path: CordovaLib
Subproject Path: appFAILURE: Build failed with an exception.
Where:
Build file ‘C:\jaypal\Studay\ionic\myApp\platforms\android\app\build.gradle’ line: 20What went wrong:
A problem occurred evaluating project ‘:app’.java.lang.ExceptionInInitializerError (no error message)
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 1m 1s
C:\jaypal\Studay\ionic\myApp\platforms\android\gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
Where:
Build file ‘Studay\ionic\myApp\platforms\android\app\build.gradle’ line: 20What went wrong:
A problem occurred evaluating project ‘:app’.java.lang.ExceptionInInitializerError (no error message)
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 1m 1s
[ERROR] An error occurred while running subprocess cordova.cordova.cmd build android exited with exit code 1. Re-running this command with the --verbose flag may provide more information.
Posts: 1
Participants: 1