Android sutdio Error:Failed to crunch file 错误的解决

Error:Failed to crunch file C:\Users\Administrator.PC-201506061202\Desktop\PAY\bugly_crash_upgrade-1.3.1\demo\BuglyHotfixEasyDemo\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\24.2.1\res\drawable-xhdpi-v4\abc_list_selector_disabled_holo_light.9.png into
C:\Users\Administrator.PC-201506061202\Desktop\PAY\bugly_crash_upgrade-1.3.1\demo\BuglyHotfixEasyDemo\app\build\intermediates\res\merged\debug\drawable-xhdpi-v4\abc_list_selector_disabled_holo_light.9.png

遇到这种错误发现是因为项目目录太长而导致的:
比如:我的报错式项目的目录:C:\Users\Administrator.PC-201506061202\Desktop\PAY\bugly_crash_upgrade-1.3.1\demo\BuglyHotfixEasyDemo
把他修改成C:\Users\Administrator.PC-201506061202\Desktop\BuglyHotfixEasyDemo,也就是把项目放到了桌面就解决了

你可能感兴趣的:(Android sutdio Error:Failed to crunch file 错误的解决)