Error:Some file crunching failed, see logs for details
Information:Gradle tasks [:myapp2:assembleDebug]
Error:Some file crunching failed, see logs for details
Error:Execution failed for task ':myapp2:mergeDebugResources'.
> Error: Some file crunching failed, see logs for details
Information:BUILD FAILED
Information:Total time: 4.221 secs
Information:2 errors
Information:0 warnings
Error:Some file crunching failed, see logs for details
Error:Execution failed for task ':myapp2:mergeDebugResources'.
> Error: Some file crunching failed, see logs for details
Information:BUILD FAILED
Information:Total time: 4.221 secs
Information:2 errors
Information:0 warnings
Information:See complete output in console
问题解决
在项目的Gradle最上层添加
android {
aaptOptions {
cruncherEnabled = false
useNewCruncher = false
}
.....