集成推送时,打包android离线app,提示gtsdk-3.2.2.0.aar与aps-igexin-release.aar中多个类重复定义,如何处理
操作步骤:
按照集成unipush的指南操作:https://nativesupport.dcloud.net.cn/AppDocs/usemodule/androidModuleConfig/push?id=unipush 添加gtsdk-3.2.2.0.aar
集成个推的指南:https://nativesupport.dcloud.net.cn/AppDocs/usemodule/androidModuleConfig/push?id=%e4%b8%aa%e6%8e%a8%e6%8e%a8%e9%80%81
添加aps-igexin-release.aar
androidstudio 中build提示类重复定义:
Duplicate class com.igexin.a.a found in modules jetified-aps-igexin-release-runtime (aps-igexin-release.aar) and jetified-gtsdk-3.2.2.0-runtime (gtsdk-3.2.2.0.aar)
Duplicate class com.igexin.a.a.a found in modules jetified-aps-igexin-release-runtime (aps-igexin-release.aar) and jetified-gtsdk-3.2.2.0-runtime (gtsdk-3.2.2.0.aar)
Duplicate class com.igexin.a.a.b found in modules jetified-aps-igexin-release-runtime (aps-igexin-release.aar) and jetified-gtsdk-3.2.2.0-runtime (gtsdk-3.2.2.0.aar)
Duplicate class com.igexin.a.a.c found in modules jetified-aps-igexin-release-runtime (aps-igexin-release.aar) and jetified-gtsdk-3.2.2.0-runtime (gtsdk-3.2.2.0.aar)
Duplicate class com.igexin.a.a.d found in modules jetified-aps-igexin-release-runtime (aps-igexin-release.aar) and jetified-gtsdk-3.2.2.0-runtime (gtsdk-3.2.2.0.aar)
Duplicate class com.igexin.a.a.e found in modules jetified-aps-igexin-release-runtime (aps-igexin-release.aar) and jetified-gtsdk-3.2.2.0-runtime (gtsdk-3.2.2.0.aar)
请问如何处理
c***@51hgp.com
解决了吗 我也是这么的
2022-04-14 17:20