Suggestion: add 'tools:replace="android:label"'
来源:互联网 发布:flypro软件 编辑:程序博客网 时间:2024/06/05 18:26
Error:Execution failed for task ':xxx:processDebugAndroidTestManifest'.> Manifest merger failed : Attribute application@label value=(@string/app_name) from [debug] AndroidManifest.xml:13:9-50 is also present at [com.xxx:xxx:unspecified] AndroidManifest.xml:15:9-41 value=(@string/app_name). Suggestion: add 'tools:replace="android:label"' to <application> element at manifestMerger5515652802157675786.xml:7:5-9:19 to override.
当多个模块或者 Library
进行依赖的时候,最后 Gradle
的时候所有的 AndroidManifest
会进行合并,若有相同的属性时就会提示上面的错误,如上面的 android:label
属性,建议添加 tools:replace="android:label
,也可以将Module
或者Library
中无用的属性去除,因为Libarary
最终合并会以release
版本,没有debug
版本
4 0
- Suggestion: add 'tools:replace="android:label"'
- 使用Android Studio时报错 Manifest merger failed...Suggestion: add 'tools:replace="android:label"'
- Suggestion: add 'tools:replace="android:label"' to <application> element at AndroidManifest.xml:28:5
- Suggestion: add 'tools:replace="android:icon"' to element
- 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:icon"' to <application> element at AndroidManifest.xml
- Suggestion: add 'tools:replace="android:icon"' to <application> element at AndroidManifest.xml
- Suggestion: add 'tools:replace="android:allowBackup"' to <application> element at AndroidManifest.xm
- Manifest merger failed Suggestion: add 'tools:replace=“Android:value”' to <meta-data> element at And
- Suggestion: add 'tools:replace="android:value"' to <meta-data> element 报错解决方案
- 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:25:5-2
- 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
- Android Studio uggestion: add 'tools:replace="android:theme" 问题
- Studio uggestion: add 'tools:replace="android:theme"
- 【Android】Suggestion: use tools:overrideLibrary="" to force usage
- 作者联系方式
- 现在Java程序员面试有多偏,一份面试题让你跪倒在面试官面前
- 深入解析 Objective-C 中方法的结构
- Android OpenGL ES 2.0绘图:绘制纹理
- IntelliJ的tomcat 设置热部署
- Suggestion: add 'tools:replace="android:label"'
- 反射机制(Reflection .)
- Android 键盘
- Android 请求数据后,翻页,下一页数据,实现逻辑
- linux下tomcat的操作
- Java中this和super的用法总结
- 二层交换机、三层交换机和路由器的原理及区别
- Linux(ubuntu)如何用iptables实现端口映射
- 算法提高 摆花