AS编译出现 Execution failed for task ':app:mergeDebugResources'. > Some file crunching failed
2018-02-08 11:45
357 查看
关于Android Studio 编译时出现以下问题,
Error:Execution failed for task ‘:app:mergeDebugResources’.
> Some file crunching failed, see logs for details
“mergeDebugResources” 见文思意就是编译resource文件出现了错误。
出现这种错误一般有两个原因:
有些图片被直接改过后缀,如 .png格式图片的后缀改成了jpg, .jpg格式的改成了png,导致编译不通过,这个时候改回来就可以了,如图1。
一些 .9 图片不够规范,在AS中的 .9 图片是需要四周黑色边框的,如下图2。
Error:Execution failed for task ‘:app:mergeDebugResources’.
> Some file crunching failed, see logs for details
“mergeDebugResources” 见文思意就是编译resource文件出现了错误。
出现这种错误一般有两个原因:
有些图片被直接改过后缀,如 .png格式图片的后缀改成了jpg, .jpg格式的改成了png,导致编译不通过,这个时候改回来就可以了,如图1。
一些 .9 图片不够规范,在AS中的 .9 图片是需要四周黑色边框的,如下图2。
相关文章推荐
- AndroidStudo编译时出现“Error:Execution failed for task ‘:app:mergeDebugResources‘. > Some file cru'”,解决办法
- Execution failed for task ':app:mergeDebugResources'. > Some file crunching failed, see logs for det
- Error:Execution failed for task ':app:mergeDebugResources'. > Some file crunching failed, see logs f
- Error:Execution failed for task ':app:mergeDebugResources'. > Error: Some file crunching failed, see
- Error:Execution failed for task ':app:mergeDebugResources'. > Error: Some file crunching failed, see
- Error:Execution failed for task ':app:mergeDebugResources'. > Error: Some file crunching failed, see
- android Error:Execution failed for task ':app:mergeDebugResources'. > Some file crunching failed, se
- Execution failed for task ':app:mergeDebugResources'. > Some file crunching failed, see logs for de
- Error:Execution failed for task :app:mergeDebugResources>Some file crunching failed的根本解决方法
- Execution failed for task ':app:mergeDebugResources'. > Some file crunching
- Error:Execution failed for task ':app:mergeDebugResources'. > Some file crunching failed, see logs f
- Error:Execution failed for task ':app:mergeDebugResources'. > Error: Some file crunching failed
- Error:Execution failed for task ':app:mergeDebugResources'. > Some file crunching failed, see logs f
- Error:Execution failed for task ':ProjectName:mergeDebugResources'. > Crunching Cruncher *some file*
- Error:Execution failed for task ':ephwealth:mergeOfficialDebugResources'. > Some file crunching fail
- Android异常--app:mergeDebugResources-> Some file crunching failed, see logs for details
- Error:Execution failed for task ':app:mergeDebugResources'. > Crunching Cruncher night_pop_bg.9.png
- Error:Execution failed for task ':app:mergeDebugResources'. > Crunching Cruncher bg_btn.9.png
- AS编译时再部分手机出现Error:Execution failed for task ':app:transformClassesWithDexForDebug'. > com.
- Error:Execution failed for task ':app:mergeDebugResources'. > Crunching Cruncher bg_btn.9.png