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

Information:See complete output in console


问题解决


在项目的Gradle最上层添加


android {
    aaptOptions {
        cruncherEnabled = false
        useNewCruncher = false

    }
.....



posted @ 2017-09-27 19:55  趣学程序  阅读(116)  评论(0编辑  收藏  举报