莫名奇妙的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

你可能感兴趣的:(android,studio,android_BUG系列)