Error:java.lang.RuntimeException: Some file crunching failed, see logs for details
2016-12-18 20:19
701 查看
出现这个问题的原因就是构建Gradle的时候,Gradle会去检查一下是否修改过文件的后缀名;一般大多数是出现在图片上,.jpg修改成了.png就会出现这个问题;最多的应该就是9patch图片也可能出现这个问题。
解决办法很简单
在你的build.gradle中添加下面一组代码,重新编译即可!
aaptOptions { cruncherEnabled = false useNewCruncher = false }
相关文章推荐
- Error:java.lang.RuntimeException: Some file crunching failed, see logs for details
- Error:java.lang.RuntimeException: Some file crunching failed, see logs for details
- Error:java.lang.RuntimeException: Some file crunching failed, see logs for details
- Error:java.lang.RuntimeException: Some file crunching failed, see logs for details
- Error:java.lang.RuntimeException: Some file crunching failed, see logs for details
- Error:java.lang.RuntimeException: Some file crunching failed, see logs for details
- Error: java.lang.RuntimeException: Some file crunching failed, see logs for details
- AS 导入Eclipse项目报错:Error: java.lang.RuntimeException: Some file crunching failed, see logs for details
- Error: java.lang.RuntimeException: Some file crunching failed, see logs for details
- Error:java.lang.RuntimeException: Some file crunching failed, see logs for details
- Error:java.lang.RuntimeException: Some file crunching failed, see logs for details(9patch)
- 记录错误Error:java.lang.RuntimeException: Some file crunching failed, see logs for details
- Error:java.lang.RuntimeException: Some file crunching failed, see logs for details
- Error: java.lang.RuntimeException: Some file crunching failed, see logs for details
- Error:java.lang.RuntimeException: Some file crunching failed, see logs for details
- Android Studio 导入应用时报错 Error:java.lang.RuntimeException: Some file crunching failed, see logs for de
- Error:java.lang.RuntimeException: Some file crunching failed, see logs for detail
- Error:java.lang.RuntimeException: Some file crunching failed, see logs for detail
- Android Studio 图片问题Error:java.lang.RuntimeException: Some file crunching failed, see logs for detail
- Error:Some file crunching failed, see logs for details