帖子
帖子
用户
博客
课程
12下一页
返回列表 发新帖
显示全部楼层
62
帖子
1
勋章
404
Y币

[插件开发] 添加alipush模块后编译自定义loader失败

[复制链接]
发表于 2021-12-15 09:53:29
添加alipush模块后编译自定义loader失败,安卓端
请教大神怎么处理
380
帖子
4
勋章
6
Y币
失败日志呢
62
帖子
1
勋章
404
Y币
2021-12-15 09:54:49
/uzmap/temp/jeryRCJNbFXbBYn/AStudioProject/app/src/main/AndroidManifest.xml:11:9-44 Error:
        Attribute permission#com.hejinyehao.yms.permission.PROCESS_PUSH_MSG@protectionLevel value=(signature) from [push-5.3.0.304.aar] AndroidManifest.xml:11:9-44
        is also present at [hms-push-5.0.2.300.aar] AndroidManifest.xml:8:9-52 value=(signatureOrSystem).
        Suggestion: add 'tools:replace="android:protectionLevel"' to <permission> element at AndroidManifest.xml:9:5-11:47 to override.
/uzmap/temp/jeryRCJNbFXbBYn/AStudioProject/app/src/main/AndroidManifest.xml:16:9-44 Error:
        Attribute permission#com.hejinyehao.yms.permission.PUSH_PROVIDER@protectionLevel value=(signature) from [push-5.3.0.304.aar] AndroidManifest.xml:16:9-44
        is also present at [hms-push-5.0.2.300.aar] AndroidManifest.xml:13:9-52 value=(signatureOrSystem).
        Suggestion: add 'tools:replace="android:protectionLevel"' to <permission> element at AndroidManifest.xml:14:5-16:47 to override.
/uzmap/temp/jeryRCJNbFXbBYn/AStudioProject/app/src/main/AndroidManifest.xml:19:9-44 Error:
        Attribute permission#com.hejinyehao.yms.permission.PUSH_WRITE_PROVIDER@protectionLevel value=(signature) from [push-5.3.0.304.aar] AndroidManifest.xml:19:9-44
        is also present at [hms-push-5.0.2.300.aar] AndroidManifest.xml:16:9-52 value=(signatureOrSystem).
        Suggestion: add 'tools:replace="android:protectionLevel"' to <permission> element at AndroidManifest.xml:17:5-19:47 to override.
/uzmap/temp/jeryRCJNbFXbBYn/AStudioProject/app/src/main/AndroidManifest.xml:74:13-43 Error:
        Attribute meta-data#com.huawei.hms.client.service.name:push@value value=(push:5.3.0.303) from [push-5.3.0.304.aar] AndroidManifest.xml:74:13-43
        is also present at [hms-push-5.0.2.300.aar] AndroidManifest.xml:71:13-43 value=(push:5.0.2.300).
        Suggestion: add 'tools:replace="android:value"' to <meta-data> element at AndroidManifest.xml:72:9-74:46 to override.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processReleaseManifest'.
> Manifest merger failed with multiple errors, see logs

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help**.**

BUILD FAILED in 23s
380
帖子
4
勋章
6
Y币
添加的是不是还有其他推送模块?
crazehe · 2021-12-15 09:552021-12-15 09:54:49
/uzmap/temp/jeryRCJNbFXbBYn/AStudioProject/app/src/main/AndroidManifest.xml:11:9-44 Error:
        Attribute permission#com.hejinyehao.yms.permission.PROCESS_PUSH_MSG@protectionLevel valu ...
216
帖子
5
勋章
5906
Y币
你还加了其他华为推送插件?
62
帖子
1
勋章
404
Y币
还添加了极光VIP推送模块  
要不要删掉?删掉后授权还在吧
技术支持-F · 2021-12-15 15:06添加的是不是还有其他推送模块?
62
帖子
1
勋章
404
Y币
有极光VIP推送模块
52yaoer · 2021-12-15 15:06你还加了其他华为推送插件?
216
帖子
5
勋章
5906
Y币
应该冲突了吧。。 你可以单独用alipush测试下编译看看,
crazehe · 2021-12-15 15:08有极光VIP推送模块
62
帖子
1
勋章
404
Y币
这是删掉极光VIP推送模块后编译报的错误log
2021-12-15 03:22:17

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:checkReleaseDuplicateClasses'.
> 1 exception was raised by workers:
  java.lang.RuntimeException: Duplicate class com.ta.utdid2.a.a.a found in modules alipaysdk-15.8.01.210112203525.jar (alipaysdk-15.8.01.210112203525.jar) and utdid4all-1.1.5.3_proguard.jar (utdid4all-1.1.5.3_proguard.jar)
  Duplicate class com.ta.utdid2.a.a.b found in modules alipaysdk-15.8.01.210112203525.jar (alipaysdk-15.8.01.210112203525.jar) and utdid4all-1.1.5.3_proguard.jar (utdid4all-1.1.5.3_proguard.jar)
  Duplicate class com.ta.utdid2.a.a.b$a found in modules alipaysdk-15.8.01.210112203525.jar (alipaysdk-15.8.01.210112203525.jar) and utdid4all-1.1.5.3_proguard.jar (utdid4all-1.1.5.3_proguard.jar)
  Duplicate class com.ta.utdid2.a.a.b$b found in modules alipaysdk-15.8.01.210112203525.jar (alipaysdk-15.8.01.210112203525.jar) and utdid4all-1.1.5.3_proguard.jar (utdid4all-1.1.5.3_proguard.jar)
  Duplicate class com.ta.utdid2.a.a.b$c found in modules alipaysdk-15.8.01.210112203525.jar (alipaysdk-15.8.01.210112203525.jar) and utdid4all-1.1.5.3_proguard.jar (utdid4all-1.1.5.3_proguard.jar)
  Duplicate class com.ta.utdid2.a.a.c found in modules alipaysdk-15.8.01.210112203525.jar (alipaysdk-15.8.01.210112203525.jar) and utdid4all-1.1.5.3_proguard.jar (utdid4all-1.1.5.3_proguard.jar)
  Duplicate class com.ta.utdid2.a.a.d found in modules alipaysdk-15.8.01.210112203525.jar (alipaysdk-15.8.01.210112203525.jar) and utdid4all-1.1.5.3_proguard.jar (utdid4all-1.1.5.3_proguard.jar)
  Duplicate class com.ta.utdid2.a.a.e found in modules alipaysdk-15.8.01.210112203525.jar (alipaysdk-15.8.01.210112203525.jar) and utdid4all-1.1.5.3_proguard.jar (utdid4all-1.1.5.3_proguard.jar)
  Duplicate class com.ta.utdid2.a.a.f found in modules alipaysdk-15.8.01.210112203525.jar (alipaysdk-15.8.01.210112203525.jar) and utdid4all-1.1.5.3_proguard.jar (utdid4all-1.1.5.3_proguard.jar)
  Duplicate class com.ta.utdid2.a.a.f$1 found in modules alipaysdk-15.8.01.210112203525.jar (alipaysdk-15.8.01.210112203525.jar) and utdid4all-1.1.5.3_proguard.jar (utdid4all-1.1.5.3_proguard.jar)
  Duplicate class com.ta.utdid2.a.a.g found in modules alipaysdk-15.8.01.210112203525.jar (alipaysdk-15.8.01.210112203525.jar) and utdid4all-1.1.5.3_proguard.jar (utdid4all-1.1.5.3_proguard.jar)
  Duplicate class com.ta.utdid2.b.a.a found in modules alipaysdk-15.8.01.210112203525.jar (alipaysdk-15.8.01.210112203525.jar) and utdid4all-1.1.5.3_proguard.jar (utdid4all-1.1.5.3_proguard.jar)
  Duplicate class com.ta.utdid2.b.a.b found in modules alipaysdk-15.8.01.210112203525.jar (alipaysdk-15.8.01.210112203525.jar) and utdid4all-1.1.5.3_proguard.jar (utdid4all-1.1.5.3_proguard.jar)
  Duplicate class com.ta.utdid2.b.a.b$a found in modules alipaysdk-15.8.01.210112203525.jar (alipaysdk-15.8.01.210112203525.jar) and utdid4all-1.1.5.3_proguard.jar (utdid4all-1.1.5.3_proguard.jar)
  Duplicate class com.ta.utdid2.b.a.b$b found in modules alipaysdk-15.8.01.210112203525.jar (alipaysdk-15.8.01.210112203525.jar) and utdid4all-1.1.5.3_proguard.jar (utdid4all-1.1.5.3_proguard.jar)
  Duplicate class com.ta.utdid2.b.a.c found in modules alipaysdk-15.8.01.210112203525.jar (alipaysdk-15.8.01.210112203525.jar) and utdid4all-1.1.5.3_proguard.jar (utdid4all-1.1.5.3_proguard.jar)
  Duplicate class com.ta.utdid2.b.a.d found in modules alipaysdk-15.8.01.210112203525.jar (alipaysdk-15.8.01.210112203525.jar) and utdid4all-1.1.5.3_proguard.jar (utdid4all-1.1.5.3_proguard.jar)
  Duplicate class com.ta.utdid2.b.a.d$a found in modules alipaysdk-15.8.01.210112203525.jar (alipaysdk-15.8.01.210112203525.jar) and utdid4all-1.1.5.3_proguard.jar (utdid4all-1.1.5.3_proguard.jar)
  Duplicate class com.ta.utdid2.b.a.d$a$a found in modules alipaysdk-15.8.01.210112203525.jar (alipaysdk-15.8.01.210112203525.jar) and utdid4all-1.1.5.3_proguard.jar (utdid4all-1.1.5.3_proguard.jar)
  Duplicate class com.ta.utdid2.b.a.e found in modules alipaysdk-15.8.01.210112203525.jar (alipaysdk-15.8.01.210112203525.jar) and utdid4all-1.1.5.3_proguard.jar (utdid4all-1.1.5.3_proguard.jar)
  Duplicate class com.ta.utdid2.device.UTDevice found in modules alipaysdk-15.8.01.210112203525.jar (alipaysdk-15.8.01.210112203525.jar) and utdid4all-1.1.5.3_proguard.jar (utdid4all-1.1.5.3_proguard.jar)
  Duplicate class com.ta.utdid2.device.a found in modules alipaysdk-15.8.01.210112203525.jar (alipaysdk-15.8.01.210112203525.jar) and utdid4all-1.1.5.3_proguard.jar (utdid4all-1.1.5.3_proguard.jar)
  Duplicate class com.ta.utdid2.device.b found in modules alipaysdk-15.8.01.210112203525.jar (alipaysdk-15.8.01.210112203525.jar) and utdid4all-1.1.5.3_proguard.jar (utdid4all-1.1.5.3_proguard.jar)
  Duplicate class com.ta.utdid2.device.c found in modules alipaysdk-15.8.01.210112203525.jar (alipaysdk-15.8.01.210112203525.jar) and utdid4all-1.1.5.3_proguard.jar (utdid4all-1.1.5.3_proguard.jar)
  Duplicate class com.ta.utdid2.device.d found in modules alipaysdk-15.8.01.210112203525.jar (alipaysdk-15.8.01.210112203525.jar) and utdid4all-1.1.5.3_proguard.jar (utdid4all-1.1.5.3_proguard.jar)
  Duplicate class com.ta.utdid2.device.e found in modules alipaysdk-15.8.01.210112203525.jar (alipaysdk-15.8.01.210112203525.jar) and utdid4all-1.1.5.3_proguard.jar (utdid4all-1.1.5.3_proguard.jar)
  Duplicate class com.ut.device.AidCallback found in modules alipaysdk-15.8.01.210112203525.jar (alipaysdk-15.8.01.210112203525.jar) and utdid4all-1.1.5.3_proguard.jar (utdid4all-1.1.5.3_proguard.jar)
  Duplicate class com.ut.device.AidConstants found in modules alipaysdk-15.8.01.210112203525.jar (alipaysdk-15.8.01.210112203525.jar) and utdid4all-1.1.5.3_proguard.jar (utdid4all-1.1.5.3_proguard.jar)
  Duplicate class com.ut.device.UTDevice found in modules alipaysdk-15.8.01.210112203525.jar (alipaysdk-15.8.01.210112203525.jar) and utdid4all-1.1.5.3_proguard.jar (utdid4all-1.1.5.3_proguard.jar)
  
  Go to the documentation to learn how to <a href="d**.**/r/tools/classpath-sync-errors">Fix dependency resolution errors</a>.


* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help**.**

BUILD FAILED in 18s
52yaoer · 2021-12-15 15:21应该冲突了吧。。 你可以单独用alipush测试下编译看看,
62
帖子
1
勋章
404
Y币
单独一个alipush模块可以编译成功
那应该是冲突了 会是哪个冲突
52yaoer · 2021-12-15 15:21应该冲突了吧。。 你可以单独用alipush测试下编译看看,
12下一页
您需要登录后才可以回帖 登录

本版积分规则