Error:Execution failed for task ':app:mergeDebugResources'. > Some file crunching failed, see logs for details


Android Studio 编译中断....

 

Error:Execution failed for task ':app:mergeDebugResources'. > Some file crunching failed, see logs for details

 

错误信息如上:

 

解决方案:

drawable里面的图片格式保存不对,Android studio 当编译资源文件的时候(using AAPT(Android Asset Packaging Tool))会抛出异常, 只需要用图片编辑工具,打开重新保存为.png图片,重新用新的图片,编译,即可。


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM