Manifest merger failed Suggestion: add 'tools:replace=“Android:value”' to meta-data element at And
Attribute meta-data#Android.support.VERSION@value value=(25.3.1) from
[com.android.support:appcompat-v7:25.3.1] AndroidManifest.xml:27:9-31 is also present at
处理方法
Put this at the end of your app module in
build.gradle :
configurations.all {
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
def requested = details.requested
if (requested.group == 'com.android.support') {
if (!requested.name.startsWith("multidex")) {
details.useVersion '25.3.0'
}
}
}
}
原因就是版本不一致,在app的module 中强制转换一下.
内容来源:
https://stackoverflow.com/questions/43140059/manifest-merger-failed-suggestion-add-toolsreplace-androidvalue-to-meta
Manifest merger failed Suggestion: add 'tools:replace=“Android:value”' to meta-data element at And相关推荐
- Manifest merger failed问题:tools:replace=android:theme和tools:replace=android:icon
Error:Execution failed for task ':app:processDebugManifest'. Manifest merger failed : Attribute acti ...
- Suggestion: add 'tools:replace=android:value' to meta-data element at AndroidManifest.xml:25:5-2...
记录下来少走些坑吧 一:不管用 tools:replace="android:icon,android:theme" xmlns:tools="http://schema ...
- Suggestion: add 'tools:replace=android:authorities'解决
出现的原因是在项目A中依赖了xiag项目B,他们又有相同的字段,因此出现命名冲突.. 解决办法: 在AndroidManifest.xml 的 application 下添加命名空间: xmlns:t ...
- Suggestion: add ‘tools:replace=”android:authorities”
版权声明:本文为博主原创文章,未经博主允许不得转载. https://blog.csdn.net/AnYuanLzh/article/details/76910498 1.sdk导入的问题 这个sdk ...
- Manifest merger failed : Attribute application@appComponentFactory value=(android.support.v4.app.Cor
报错信息 Manifest merger failed : Attribute application@appComponentFactory value=(android.support.v4.ap ...
- android studio manifest merger failed,android studio 引用第三方工程Manifest merger failed
昨天在gradle中引用第三方包,报了个错: Error:Execution failed for task ':app:processDebugManifest'. > Manifest me ...
- Android Manifest merger failed with multiple errors参考解决方法
判断报错类别 Android Manifest merger failed with multiple errors , see logs 主要分为俩类(个人遇见的情况): 与引入的其他库中的Mani ...
- android studio manifest merger failed,【Androidstudio】Manifest merger failed 问题
[Androidstudio]Manifest merger failed 问题 [Androidstudio]Manifest merger failed 问题 问题描述 Manifest merg ...
- Android 使用阿里推送服务报错Manifest merger failed
错误信息 Manifest merger failed : Attribute application@allowBackup value=(true) from AndroidManifest.xm ...
最新文章
- 【spring 5】AOP:spring中对于AOP的的实现
- 居然还有人在用 System.out.println打日志的吗?
- python在哪下载-python在哪里下载
- DB2 格式化输出 Date
- 天天象棋 残局闯关 第10关
- 三层架构介绍和MVC设计模型介绍
- 产生线程安全的原因(1)(操作系统)
- C# wpf编程CM框架快速入门项目实例
- 京东WebService调用 求助~~~~~
- c语言语句大全ppt,C语言基本语句.ppt
- @class与#import
- java handlerbase_Java Firebase.AuthResultHandler方法代码示例
- 科密t1消费管理系统_科密t1消费管理系统
- 复变函数在计算机科学的应用,[2018年最新整理]MATLAB在复变函数与积分变换的应用.doc...
- STAR:转录组数据比对工具简介
- 最新美女COS写真网站整站源码下载+实测可用/带数据
- Windows 文件夹或文件名 太长无法删除怎么办? 一招教你怎样解决.
- 自由职业一段时间后的感悟
- 微信公众号开发,微信支付功能开发(网页JSAPI调用)
- 视频文件头解析之---avi