解决导入项目目录太长导致的问题

倒入别人项目可能碰到这样的问题,这里提供一下解决方案

问题:

Error:com.Android.builder.internal.aapt.AaptException: Failed to crunch file E:\Test\Amap_Android_IndoorMapDemo_V2.2.5_20170122\Amap_Android_IndoorMapDemo_V2.2.5_20170122\IndoorMapSDKTest\build\intermediates\exploded-aar\com.android.support\appcompat-v7\23.1.0\res\drawable-xhdpi\abc_list_selector_disabled_holo_light.9.png into E:\Test\Amap_Android_IndoorMapDemo_V2.2.5_20170122\Amap_Android_IndoorMapDemo_V2.2.5_20170122\IndoorMapSDKTest\build\intermediates\res\merged\release\drawable-xhdpi\abc_list_selector_disabled_holo_light.9.png

解决方案:

缩短目录就行,可以这么做,将项目放在根目录中。即可解决。

ps:我的博客:http://blog.csdn.NET/shenshizhong

我的简书:http://www.jianshu.com/users/345daf0211ad/latest_articles

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