Error: Checking Java JDK and Android SDK versions
ANDROID_HOME=~~/androidSDK (recommended setting)
ANDROID_SDK_ROOT=undefined (DEPRECATED)
Using Android SDK: ~~/androidSDK
Task :wrapper
BUILD SUCCESSFUL in 1s
1 actionable task: 1 executed
Subproject Path: CordovaLib
Subproject Path: app
[========= ] 25% [========= ] 25% Fetch remote repository... [=======================================] 100% Fetch remote repository...
Checking the license for package Android SDK Platform-Tools in ~~/licenses
License for package Android SDK Platform-Tools accepted.
Preparing "Install Android SDK Platform-Tools v.37.0.3".
Warning: Failed to read or create install properties file.
WARNING: platform-tools package is not installed, and automatic installation failed.
Task :app:preBuild UP-TO-DATE
Task :app:preDebugBuild UP-TO-DATE
Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
Task :app:generateDebugBuildConfig
Task :app:javaPreCompileDebug
Task :CordovaLib:preBuild UP-TO-DATE
Task :CordovaLib:preDebugBuild UP-TO-DATE
Task :CordovaLib:writeDebugAarMetadata
Task :app:checkDebugAarMetadata
Task :app:generateDebugResValues
Task :CordovaLib:generateDebugResValues
Task :CordovaLib:generateDebugResources
Task :CordovaLib:packageDebugResources
Task :app:mapDebugSourceSetPaths
Task :app:generateDebugResources
Task :app:mergeDebugResources
Task :app:packageDebugResources
Task :app:parseDebugLocalResources
Task :app:createDebugCompatibleScreenManifests
Task :app:extractDeepLinksDebug
Task :CordovaLib:extractDeepLinksDebug
Task :CordovaLib:processDebugManifest
Task :app:processDebugMainManifest
Task :app:processDebugManifest
Task :app:processDebugManifestForPackage
Task :CordovaLib:compileDebugLibraryResources
Task :CordovaLib:parseDebugLocalResources
Task :CordovaLib:generateDebugRFile
Task :app:processDebugResources FAILED
24 actionable tasks: 24 executed
Running as unit: run-r8fa627a66e894494971b15c8bd76f64e.scope; invocation ID: a7cd5e92e0e345429de3bee26d926daf
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugResources'.
A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction
AAPT2 aapt2-8.10.1-12782657-linux Daemon #0: Daemon startup failed
This should not happen under normal circumstances, please file an issue if it does.
* 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 2s
Command failed with exit code 1: ~~/gradlew cdvBuildDebug