莫名奇妙的Error:Failed to crunch

Message信息如下:

Error:Failed to crunch file C:\Users\Administrator\Desktop\BaseFramework-Practice1\BaseFramework-b5c03125640f0faca81e77e8742be613d7fecfc5\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\25.0.1\res\drawable-xxhdpi-v4\abc_text_select_handle_middle_mtrl_light.png into C:\Users\Administrator\Desktop\BaseFramework-Practice1\BaseFramework-b5c03125640f0faca81e77e8742be613d7fecfc5\app\build\intermediates\res\merged\debug\drawable-xxhdpi-v4\abc_text_select_handle_middle_mtrl_light.png
Error:Execution failed for task ':app:mergeDebugResources'.
> Error: Failed to crunch file C:\Users\Administrator\Desktop\BaseFramework-Practice1\BaseFramework-b5c03125640f0faca81e77e8742be613d7fecfc5\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\25.0.1\res\drawable-xxhdpi-v4\abc_text_select_handle_middle_mtrl_light.png into C:\Users\Administrator\Desktop\BaseFramework-Practice1\BaseFramework-b5c03125640f0faca81e77e8742be613d7fecfc5\app\build\intermediates\res\merged\debug\drawable-xxhdpi-v4\abc_text_select_handle_middle_mtrl_light.png


第一次碰见这种错误。

搜到有相关解决方法。原来如此奇葩。

原因就是路径过长导致的这种错误,咱把路径改短,层级改少点就行了

关键是还不报具体的Exception信息,坑爹。

原文链接:http://blog.csdn.net/u013164293/article/details/53318285

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值