get manifestOutputDirectory error
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':app:checkReleaseDuplicateClasses'.A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
Duplicate class com.amap.api.fence.DistrictItem found in modules jetified-AMap_Location_V5.3.1_20210331 (AMap_Location_V5.3.1_20210331.jar) and jetified-moduleAmap-release-runtime (moduleAmap-release.aar)
Duplicate class com.amap.api.fence.DistrictItem$1 found in modules jetified-AMap_Location_V5.3.1_20210331 (AMap_Location_V5.3.1_20210331.jar) and jetified-moduleAmap-release-runtime (moduleAmap-release.aar)
Duplicate class com.amap.api.fence.GeoFence found in modules jetified-AMap_Location_V5.3.1_20210331 (AMap_Location_V5.3.1_20210331.jar) and jetified-moduleAmap-release-runtime (moduleAmap-release.aar)
Duplicate class com.amap.api.fence.GeoFence$1 found in modules jetified-AMap_Location_V5.3.1_20210331 (AMap_Location_V5.3.1_20210331.jar) and jetified-moduleAmap-release-runtime (moduleAmap-release.aar)
Duplicate class com.amap.api.fence.GeoFenceClient found in modules jetified-AMap_Location_V5.3.1_20210331 (AMap_Location_V5.3.1_20210331.jar) and jetified-moduleAmap-release-runtime (moduleAmap-release.aar)
Duplicate class com.amap.api.fence.GeoFenceListener found in modules jetified-AMap_Location_V5.3.1_20210331 (AMap_Location_V5.3.1_20210331.jar) and jetified-moduleAmap-release-runtime (moduleAmap-release.aar)
Duplicate class com.amap.api.fence.PoiItem found in modules jetified-AMap_Location_V5.3.1_20210331 (AMap_Location_V5.3.1_20210331.jar) and jetified-moduleAmap-release-runtime (moduleAmap-release.aar)
Duplicate class com.amap.api.fence.PoiItem$1 found in modules jetified-AMap_Location_V5.3.1_20210331 (AMap_Location_V5.3.1_20210331.jar) and jetified-moduleAmap-release-runtime (moduleAmap-release.aar)
Duplicate class com.amap.api.location.AMapLocation found in modules jetified-
2 个回复
3***@qq.com
解决了吗?
海角
怎么解决