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