All input files are considered out-of-date for incremental task ':mergeArmv7ReleaseResources'. Unable do incremental execution: full task run QueuedCruncher is using .../android-sdk/build-tools/25.0.0/aapt AAPT: libpng error: Not a PNG file :mergeArmv7ReleaseResources FAILED :mergeArmv7ReleaseResources (Thread[main,5,main]) completed. Took 0.605 secs. FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':mergeArmv7ReleaseResources'. > Some file crunching failed, see logs for details * Try: Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. BUILD FAILED Total time: 27.121 secs Stopped 0 compiler daemon(s). Error: Error code 1 for command: .../cordova_project/platforms/android/gradlew with args: cdvBuildRelease,-b,.../cordova_project/platforms/android/build.gradle,--no-daemon,-Pandroid.useDeprecatedNdk=true,--info
please Help me ...
Please post the entire build log as a TXT file to your post using the "Attach Files to Post" link below the forum edit window.
It appears that you have a file with a PNG extension that is not a PNG file. Typically this is caused by changing the JPG extension on an image file to PNG. Renaming the extension of an image file does not change its format, you must convert your JPG images to PNG images using an image conversion tool.
From the log: libpng error: Not a PNG file
Have you checked the png files in your html app, or as part of the resources (like icons), is it possible that a .png file is not really a png format file (e.g. renamed something else to png)?
See this forum post: