RongfengTeach
RongfengTeach
  • 发布:2021-10-25 14:14
  • 更新:2023-06-09 15:49
  • 阅读:779

原生包升级后报错, 麻烦给看看

分类:uni-app

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-

2021-10-25 14:14 负责人:无 分享
已邀请:
3***@qq.com

3***@qq.com

解决了吗?

海角

海角

怎么解决

要回复问题请先登录注册