打包环境:
android targetSdkVersion 30
gradle:4.2.2
引用libs:
aps-release.aar, aps-unipush-release.aar, gtc-3.1.1.0.aar, gtsdk-3.2.0.0.aar, hwp-3.0.1.aar,
mzp-3.0.2.aar, oppo-3.0.3.aar, vivo-3.0.3.aar, xmp-3.0.2.aar, aps-igexin-release.aar
Execution failed for task ':app:processReleaseMainManifest'.
Manifest merger failed : Attribute service#com.igexin.sdk.PushService@exported value=(true) from AndroidManifest.xml:109:13-36
is also present at [gtsdk-3.2.0.0.aar] AndroidManifest.xml:23:13-37 value=(false).
Suggestion: add 'tools:replace="android:exported"' to <service> element at AndroidManifest.xml:107:9-115:19 to override.
按照文档集成,报这个冲突。
把gtsdk删了,能打包成功。也能收到个推消息推送,但是收不到厂家离线推送
2 个回复
c***@51hgp.com
楼主 解决了么 一样的问题 跪求
len168com
在AndroidManifest.xml中的application标签里加上 tools:replace="android:allowBackup"