- /*高德地图远程依赖*/
- implementation 'com.amap.api:navi-3dmap:9.5.0_3dmap9.5.0'
- implementation 'com.amap.api:search:9.5.0'
- Execution failed for task ':app:checkDevDebugDuplicateClasses'.
- > A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
- > Duplicate class com.amap.api.fence.DistrictItem found in modules jetified-AMapTrack_1.4.1_AMapLocation_6.0.0_20220222 (AMapTrack_1.4.1_AMapLocation_6.0.0_20220222.jar) and jetified-navi-3dmap-9.5.0_3dmap9.5.0 (com.amap.api:navi-3dmap:9.5.0_3dmap9.5.0)
- XXXXXXXX
- Duplicate class com.amap.api.location.AMapLocation found in modules jetified-AMapTrack_1.4.1_AMapLocation_6.0.0_20220222 (AMapTrack_1.4.1_AMapLocation_6.0.0_20220222.jar) and jetified-navi-3dmap-9.5.0_3dmap9.5.0 (com.amap.api:navi-3dmap:9.5.0_3dmap9.5.0)
- XXXXXXXX
- Duplicate class com.amap.api.services.busline.BusLineItem found in modules jetified-navi-3dmap-9.5.0_3dmap9.5.0 (com.amap.api:navi-3dmap:9.5.0_3dmap9.5.0) and jetified-search-9.5.0 (com.amap.api:search:9.5.0)
- XXXXXXXX
最后修改以上参数。果然包就显示出来了。大功告成。
androidx和v4包资源冲突解决方法_陈福旭的博客-CSDN博客_androidx v4android之R8混淆引起Java与Kotlin混编异常Didn‘t find class on path: DexPathList_expected stack map table for method with non-linea_天若子的博客-CSDN博客