Error:java.lang.RuntimeException: Some file crunching failed, see logs for detail
来源:互联网 发布:jenkins 源码管理配置 编辑:程序博客网 时间:2024/05/16 01:55
出现这个错误的原因是有哪种情况?
1.构建Gradle的时候,Gradle会去检查一下是否修改过文件的后缀名;
2.一般大多数是出现在图片上,.jpg修改成了.png就会出现这个问题;
3.9patch图片也可能出现这个问题。
解决办法
在app目录下的build.gradle中添加如下设置
aaptOptions { cruncherEnabled = false useNewCruncher = false }
android { compileSdkVersion 24 buildToolsVersion "24.0.0" aaptOptions { cruncherEnabled = false useNewCruncher = false } defaultConfig { applicationId "com.fhzz.cn.exploremap" minSdkVersion 19 targetSdkVersion 24 versionCode 1 versionName "1.0" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } }}
原文地址:http://www.cnblogs.com/why168888/p/5925756.html
0 0
- 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: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
- Android Studio 导入应用时报错 Error:java.lang.RuntimeException: Some file crunching failed, see logs for de
- Error:Some file crunching failed, see logs for details
- Error:Some file crunching failed, see logs for details
- 签名
- 重温Http协议--请求报文和响应报文
- 动态规划
- 蓝桥杯 ADV-97 算法提高 十进制数转八进制数
- Missing styles. Is the correct theme chosen for this layout? Use the Theme combo box above the layou
- Error:java.lang.RuntimeException: Some file crunching failed, see logs for detail
- MySQL-Customers Who Never Order
- 蓝桥杯 ADV-98 算法提高 约数个数
- 前端开源项目周报0307
- 蓝桥杯 ADV-100 算法提高 第二大整数
- 蓝桥杯 ADV-102 算法提高 单词个数统计
- 经纬度解析地址传到后台
- extern "C"的作用
- SQL Server 截取字符串数组,获取字符串指定值