Android_bug's task ': App:mergedebugresources '. > Some file crunching failed, see logs F

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.