Error:com.android.builder.internal.aapt.AaptException: Failed to crunch file

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: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学习群】




你可能感兴趣的:(异常)