Error:Execution failed for task ':app:mergeDebugResources'. > Error: java.lang.RuntimeException: Cru
2016-12-20 11:01
621 查看
错误描述
Information:Gradle tasks [:app:assembleDebug]Error:Execution failed for task ':app:mergeDebugResources'.
> Error: java.lang.RuntimeException: Crunching Cruncher bg.png failed, see logs
这个问题,我只能说有两种情况,一种是你自己蠢,第二种是给你图的人蠢,because 出现这个问题的原因是因为你这个bg.png图是直接修改后缀名得到的一张图,只要把这张图换掉就OK了
本人就是把这个bg.jpg的图自作聪明的改成了bg.png的了。哎,蠢啊
![](http://static.blog.csdn.net/xheditor/xheditor_emot/default/wail.gif)
相关文章推荐
- Error:Execution failed for task ':app:mergeDebugResources'. > Error: java.lang.RuntimeException: Cru
- Error:Execution failed for task ':app:mergeDebugResources'. > Error: java.lang.RuntimeException: Som
- Android遇到Error:Execution failed for task ':app:mergeDebugResources'. > Error: java.ut和java.lang.Clas
- Error:Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'. > More than one f
- AS install APk发生Error:Execution failed for task ':app:mergeDebugResources'. > Error: java.io.FileNo
- Error:Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'. > com.android.bui
- Error:Execution failed for task ':app_gxtest:mergeDebugResources'. > Error: java.util.concurrent.Exe
- Error:Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'. > com.android.bui
- Error:Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'. > com.android.bui
- Error:Execution failed for task ':app:transformResourcesWithMergeJavaResForUmengDebug'. > com.androi
- Error:Execution failed for task ':app:mergeDebugResources'. > Error: Java.util.concurrent.ExecutionE
- Error:Execution failed for task ':app:mergeDebugResources'. > Error: java.util.concurrent.ExecutionE
- Error:Execution failed for task ':app:mergeDebugResources'. > Error: java.util.concurrent.ExecutionE
- Error:Execution failed for task ':app:mergeDebugResources'. > Error: Java.util.concurrent.ExecutionE
- Error:Execution failed for task ':app:mergeDebugResources'. > Error: java.util.concurrent.ExecutionE
- Error:Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'. > com.android.bui
- AndroidStudo编译时出现“Error:Execution failed for task ‘:app:mergeDebugResources‘. > Some file cru'”,解决办法
- Error:Execution failed for task ':app:mergeDebugResources'. > Error: java.util.concurrent.ExecutionE
- Error:Execution failed for task ':app:mergeDebugResources'. > Error: java.util.concurrent.ExecutionE
- Error:Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'. > com.android.bui