Today debugging Android Program encountered problems error:execution failed for task ': App:mergedebugresources '. > Some file crunching failed, see logs F
Mainly in the picture format problem, the picture to use the PNG format, the direct modification Picture format will report this error cannot adapt
The following transfers are from:http://blog.csdn.net/nailsoul/article/details/50268291
Error code
Error:execution failed for task ':P ulltorefreshlibrary:mergedebugandroidtestresources '.
> Some file crunching failed, see logs for details
AAPT err (facade for 598446055): No Delegate set:lost message:
libpng error:CgBI:unhandled critical Chunk
Gradle:execution failed for task ':p rocessdebugmanifest '
Cause of error
pulltorefreshlibrary There's a problem with the picture under Res.
1. Image corruption can not open or format errors directly to the. jpg rename. png files only change the extension and the format is not changed to be converted with the conversion software
2. It is said that the picture after XCODE4 compression will occur if the situation is true after other compression software compression if the problem occurs (not verified)
Compression problem
Find the problem picture way
Open without an image with the IDE tool to see if it's open.
This error does not necessarily occur, so you can compile the error before it appears and deny that the picture has a problem
Android_bug's task ': App:mergedebugresources '. > Some file crunching failed, see logs F