Error:execution failed for task ': App:mergedebugresources '. > Crunching Cruncher ******.9.png

Source: Internet
Author: User

Sometimes when you import an Eclipse project in Android Studio, Error:execution failed for task ': App:mergedebugresources ' appears. > Crunching Cruncher ******.9.png this question,

This error occurs because:

As than eclipse treats. 9.png format pictures More stringent, four sides need to set, otherwise it will not let you pass, meaning that your picture does not pass as audit requirements

The solution:

1, if your company's art bcause and not busy circumstances, you can let you change him to you (of course, the general situation is that you get 0.0)

2, you can change the suffix name to solve, but this does not suggest, changed the picture will not meet the requirements and effect

3, we can use the code to shut down the detection of PNG format files in Android Studio, so that the system will not detect the PNG format resource files

Add aaptoptions.cruncherenabled = false aa below Buildtoolsversion "26.0.2" under Android node in Project Build.gradle Ptoptions.usenewcruncher = false

Adding these two lines of code is OK.

Error:execution failed for task ': App:mergedebugresources '. > Crunching Cruncher ******.9.png

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.