配置友盟配置特殊厂商

2019-08-10

主要文档:https://developer.umeng.com/docs/66632/detail/98589

1、当出现tools:replace="android:allowBackup"这个错误时,要原本的

tools:replace="android:hardwareAccelerated"  //换成现在提示。
Manifest merger failed : Attribute application@allowBackup value=(true) from AndroidManifest.xml:36:9-35
      is also present at [com.umeng.umsdk:huawei-umengaccs:1.2.1] AndroidManifest.xml:22:18-45 value=(false).
      Suggestion: add 'tools:replace="android:allowBackup"' to  element at AndroidManifest.xml:34:5-415:19 to override.

2、当又提示android:hardwareAccelerated",你就蒙蔽了,该应用是在引入华为消息,引用umeng推送时出现的,想想与原本的两个在打架

Manifest merger failed : Attribute application@hardwareAccelerated value=(true) from AndroidManifest.xml:37:9-43
      is also present at [:idauthsdk:] AndroidManifest.xml:35:9-44 value=(false).
      Suggestion: add 'tools:replace="android:hardwareAccelerated"' to  element at AndroidManifest.xml:34:5-415:19 to override.

3、把他写成tools:replace="android:hardwareAccelerated,android:allowBackup"这个就好了,多个


本文由 wenyi 创作,采用 知识共享署名 3.0,可自由转载、引用,但需署名作者且注明文章出处。

还不快抢沙发

添加新评论