Checking Java JDK and Android SDK versions
ANDROID_SDK_ROOT=/Users/pamey/Library/Android/sdk (recommended setting)
ANDROID_HOME=/Users/pamey/Library/Android/sdk (DEPRECATED)
Using Android SDK: /Users/pamey/Library/Android/sdk
Subproject Path: CordovaLib
Subproject Path: app
Starting a Gradle Daemon (subsequent builds will be faster)
> Configure project :app
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed in version 5.0 of the Android Gradle plugin.
For more information, see
http://d.android.com/r/tools/update-...gurations.html.
> Task :app:mergeReleaseResources FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:mergeReleaseResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> Android resource compilation failed
/Users/pamey/Documents/Cordova/smartbud/platforms/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: AAPT: error: failed to read PNG signature: file does not start with PNG signature.
/Users/pamey/Documents/Cordova/smartbud/platforms/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: AAPT: error: file failed to compile.
* 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
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See
https://docs.gradle.org/6.5/userguid..._line_warnings
BUILD FAILED in 14s
37 actionable tasks: 1 executed, 36 up-to-date
Command failed with exit code 1: /Users/pamey/Documents/Cordova/smartbud/platforms/android/gradlew cdvBuildRelease -b /Users/pamey/Documents/Cordova/smartbud/platforms/android/build.gradle
Partager