bug解決記錄,今天領導要求在高德地圖上畫線要畫的漂亮些,然後查看高德api後發現新api有一些相關方法,於是更新了一下高德sdk,在gradle文件中修改了這段代碼,從舊的修改到新的sdk名稱,修改後就報出下面的錯誤。
implementation files('libs/AMap3DMap_7.4.0_AMapNavi_7.4.0_AMapSearch_7.3.0_AMapLocation_4.9.0_20200416.jar')
報出如下錯誤:
Error:Could not resolve all files for configuration ':app:debugAndroidTestRuntimeClasspath'.
> Failed to transform file 'AMap3DMap_7.4.0_AMapNavi_7.4.0_AMapSearch_7.3.0_AMapLocation_4.9.0_20200416.jar' to match attributes {artifactType=android-classes} using transform JarTransform
> Transform output file E:\svn_workspace\StopCarNavi\app\AMap3DMap_7.4.0_AMapNavi_7.4.0_AMapSearch_7.3.0_AMapLocation_4.9.0_20200416.jar does not exist.