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

xiaoxiao2021-02-28  99

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

问题:

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

解决方案:

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

转载请注明原文地址: https://www.6miu.com/read-73136.html

最新回复(0)