Error:java.lang.RuntimeException: Some file crunching failed, see logs for details
来源:互联网 发布:网络最火的歌曲 编辑:程序博客网 时间:2024/05/04 08:17
出现这个问题的原因就是构建Gradle的时候,Gradle会去检查一下是否修改过文件的后缀名;一般大多数是出现在图片上,.jpg修改成了.png就会出现这个问题;最多的应该就是9patch图片也可能出现这个问题。
解决办法很简单
- 在你的build.gradle中添加下面一组代码,重新编译即可!
aaptOptions { cruncherEnabled = false useNewCruncher = false }
0 0
- 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
- 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
- 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 detail
- Error:java.lang.RuntimeException: Some file crunching failed, see logs for detail
- Error:Some file crunching failed, see logs for details
- Error:Some file crunching failed, see logs for details
- Error:Some file crunching failed, see logs for details
- ajax
- AIDL使用案例
- ListView设置setOnKeyListener后OnKey无法被调用的问题
- 3D建模系统blender快捷键
- Solr查询参数omitHeader
- Error:java.lang.RuntimeException: Some file crunching failed, see logs for details
- js判断身份证号
- Spring简介
- 深入理解Java虚拟机——高效并发
- LeetCode 260. Single Number III
- DDMS不能导出文件失败 出现Failed to pull selection
- eclipse没有代码提示
- 3.3.1
- 健康栏目的实现