AndroidManifest 合并出错 tools:replace="android:allowBackup"
2017-05-04 15:48
671 查看
出现的问题: Manifest merger failed : Attribute application@allowBackup value=(false) from AndroidManifest.xml:116:9-36
is also present at [manager:common:unspecified:release] AndroidManifest.xml:12:9-35 value=(true).
Suggestion: add 'tools:replace="android:allowBackup"' to <application> element at AndroidManifest.xml:114:5-1136:19 to override.
解决方法:
在application节点添加
同样的还有
tools:replace="android:icon, android:theme,android:allowBackup"
is also present at [manager:common:unspecified:release] AndroidManifest.xml:12:9-35 value=(true).
Suggestion: add 'tools:replace="android:allowBackup"' to <application> element at AndroidManifest.xml:114:5-1136:19 to override.
解决方法:
<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" package="包名">
在application节点添加
<application tools:replace="android:allowBackup" ......
同样的还有
tools:replace="android:icon, android:theme,android:allowBackup"
相关文章推荐
- Suggestion: add 'tools:replace="android:allowBackup"' to <application> element at AndroidManifest.xm
- AndroidManifest 文件合并错误-->tools:replace="android:value"问题
- 出现add 'tools:replace="android:value"' to element at AndroidManifest.xml:22:5-24:34 to override.的解决办法
- Suggestion: add 'tools:replace="android:icon"' to <application> element at AndroidManifest.xml
- Suggestion: add 'tools:replace="android:icon"' to <application> element at AndroidManifest.xml
- Suggestion: add 'tools:replace="android:label"' to <application> element at AndroidManifest.xml:28:5
- [置顶] Suggestion: add 'tools:replace="android:value"' to <meta-data> element at AndroidManifest.xml:25:5-2
- Suggestion: add 'tools:replace="android:value"' to <meta-data> element at AndroidManifest.xml:22:5-2
- AndroidManifest文件中属性<application android:allowBackup="false">
- android AndroidManifest.xml下的标签android:allowBackup="true"
- Suggestion: add 'tools:replace="android:value"' to <meta-data> element at AndroidManifest.xml:25:5-27:41 to override.
- add 'tools:replace="android:value"' to <meta-data> element at AndroidManifest.xml:25:5-27:34 to over
- Suggestion: add 'tools:replace="android:value"' to <meta-data> element at AndroidManifest.xml:25:5-2
- 使用Android Studio时报错 Manifest merger failed...Suggestion: add 'tools:replace="android:label"'
- Suggestion: add 'tools:replace="android:value"' to <meta-data> element at AndroidManifest.xml:25:5-2
- Suggestion: add 'tools:replace="android:icon"' to <application> element at AndroidManifest.xml
- Suggestion: add 'tools:replace="android:icon"' to <application> element at AndroidManifest.xml
- AndroidManifest中设置android:allowBackup="false"的时候编译报错
- 浅谈AndroidManifest文件的android:allowBackup属性
- tools:replace="android:icon" 的作用和替代方法