react-native-getui
react-native-getui copied to clipboard
集成华为推送时报错:Manifest merger failed
trafficstars
按照文档集成华为推送后遇到如下错误
Manifest merger failed : Attribute activity#com.huawei.hms.activity.BridgeActivity@configChanges value=(orientation|locale|screenSize|layoutDirection|fontScale) from [com.getui:hwp-for-google-play:1.0.6] AndroidManifest.xml:59:13-92
is also present at [com.huawei.hms:ui:5.0.4.301] AndroidManifest.xml:12:13-131 value=(orientation|locale|layoutDirection|fontScale|screenSize|smallestScreenSize|screenLayout|uiMode).
Suggestion: add 'tools:replace="android:configChanges"' to <activity> element at AndroidManifest.xml:57:9-68:20 to override.
dependencies {
......
implementation 'com.huawei.hms:push:5.0.4.302'
}
https://github.com/v7lin/fake_push/issues/30
网易云信需要集成 com.huawei.hms:push,如果项目中加入这个以来会导致 Manifest merger failed 的问题,如果项目不加入此依赖会导致网易云信读取不到 class 问题
