莫名奇妙的Error:Failed to crunch

来源:互联网 发布:对大数据的认识 编辑:程序博客网 时间:2024/05/01 02:55
**转载于http://blog.csdn.net/u013164293/article/details/53318285**

[plain] view plain copy
print?在CODE上查看代码片派生到我的代码片
  1. Error:com.android.builder.internal.aapt.AaptException: Failed to crunch file E:\WG\map\BaiduLBS_AndroidSDK_Sample\BaiduLoc_AndroidSDK_v7.0_Demo\android_studio\BaiduLocationDemo\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 E:\WG\map\BaiduLBS_AndroidSDK_Sample\BaiduLoc_AndroidSDK_v7.0_Demo\android_studio\BaiduLocationDemo\app\build\intermediates\res\merged\debug\drawable-xhdpi-v4\abc_list_selector_disabled_holo_light.9.png  
  2. Error:Execution failed for task ’:app:mergeDebugResources’.  
  3. > Error: com.android.builder.internal.aapt.AaptException: Failed to crunch file E:\WG\map\BaiduLBS_AndroidSDK_Sample\BaiduLoc_AndroidSDK_v7.0_Demo\android_studio\BaiduLocationDemo\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 E:\WG\map\BaiduLBS_AndroidSDK_Sample\BaiduLoc_AndroidSDK_v7.0_Demo\android_studio\BaiduLocationDemo\app\build\intermediates\res\merged\debug\drawable-xhdpi-v4\abc_list_selector_disabled_holo_light.9.png  
Error:com.android.builder.internal.aapt.AaptException: Failed to crunch file E:\WG\map\BaiduLBS_AndroidSDK_Sample\BaiduLoc_AndroidSDK_v7.0_Demo\android_studio\BaiduLocationDemo\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 E:\WG\map\BaiduLBS_AndroidSDK_Sample\BaiduLoc_AndroidSDK_v7.0_Demo\android_studio\BaiduLocationDemo\app\build\intermediates\res\merged\debug\drawable-xhdpi-v4\abc_list_selector_disabled_holo_light.9.pngError:Execution failed for task ':app:mergeDebugResources'.> Error: com.android.builder.internal.aapt.AaptException: Failed to crunch file E:\WG\map\BaiduLBS_AndroidSDK_Sample\BaiduLoc_AndroidSDK_v7.0_Demo\android_studio\BaiduLocationDemo\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 E:\WG\map\BaiduLBS_AndroidSDK_Sample\BaiduLoc_AndroidSDK_v7.0_Demo\android_studio\BaiduLocationDemo\app\build\intermediates\res\merged\debug\drawable-xhdpi-v4\abc_list_selector_disabled_holo_light.9.png

解决:

修改项目路径,避免项目路径过长哭


Android学习交流群:523487222

(如果您觉得有用,欢迎加入,一起学习进步)
点击链接加入群【Android学习群】




0 0
原创粉丝点击