во время выполнения ионного проекта с ошибкой сборки,
мы создаем ионный проект с помощью этой команды:
ionic start myApp super --type=ionic-angular
мы запускаем ионный проект с помощью следующей команды:
ionic cordova run android
тогда мы получаем следующую ошибку
Starting a Gradle Daemon, 1 incompatible and 2 stopped Daemons could not be reused, use --status for details
FAILURE: Build failed with an exception.
* Where:
Build file '/home/myApp/platforms/android/app/build.gradle' line: 20
* What 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 13s
/home/myApp/platforms/android/gradlew: Command failed with exit code 1
Вывод ошибки: СБОЙ: Сборка не удалась с исключением.
* Where:
Build file '/home/myApp/platforms/android/app/build.gradle' line: 20
* What 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 13s
[ERROR] An error occurred while running subprocess cordova.
cordova run android exited with exit code 1.
Re-running this command with the --verbose flag may provide more information.
прямо сейчас Конфигурация проекта:
узел.js 8.10.0, android 8.0, cordova 9.0.0, ionic 4.12.0, gradle 5.2.1
Но мы попробовали это также:
node.js 10, 12 и gradle5.4.1, 3.3.0 и т. Д.