Failed to crunch file

Error:com.Android.builder.internal.aapt.AaptException: Failed to crunch file C:\Users\Desktop\map\BaiduLBS_AndroidSDK_Sample\BaiduMap_AndroidSDK_v4.1.1_Sample\BaiduMapsApiASDemo\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\23.1.0\res\drawable-hdpi\abc_textfield_search_default_mtrl_alpha.9.png into C:\Users\Desktop\map\BaiduLBS_AndroidSDK_Sample\BaiduMap_AndroidSDK_v4.1.1_Sample\BaiduMapsApiASDemo\app\build\intermediates\res\merged\debug\drawable-hdpi\abc_textfield_search_default_mtrl_alpha.9.png

文件名太长了(超过240字符,IDE编译通不过),更换工程路径,或更改文件夹来解决该问题。

    原文作者:Rave_Tian
    原文地址: https://www.jianshu.com/p/ff50934916a9
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞