The app:mergedebugresources of Bug-android

Source: Internet
Author: User


Bug Description:error:execution failed for task ': App:mergedebugresources '. > Crunching Cruncher seekbar_thumb_normal.png Failed, see logs

Workaround:

1. Add the following two sentences to the Build.gradle:

Aaptoptions.cruncherenabled = False

Aaptoptions.usenewcruncher = False

For example:

Android {
Compilesdkversion23
Buildtoolsversion"23.0.3"
aaptoptions.cruncherenabled= false
aaptoptions.Usenewcruncher= false

Defaultconfig {
ApplicationID"Com.phone.app.phone"
Minsdkversion19
Targetsdkversion23
Versioncode1
Versionname"1.0"
}
Buildtypes {
Release {
minifyenabledfalse
ProguardfilesGetdefaultproguardfile(' Proguard-android.txt '),' Proguard-rules.pro '
}
}
}

, just add it directly below the buildtoolsversion, and then you can then add the property values of the two items to the configuration file, such as:

This is OK to run again, these two sentences mean: to close the PNG of Android studio check the legality, directly do not let it check!!!

2. is only to change the PNG picture, the domestic forum a whole called people to change the map is a bit of a drag, if hundreds of pictures, that is not crazy?

The app:mergedebugresources of Bug-android

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.