Error:Execution failed for task ':app:processDebugManifest'. > Manifest merger failed
来源:互联网 发布:js继承的语法 编辑:程序博客网 时间:2024/06/05 20:20
今天在导入Github上的代码的时候Studio报了如下错误,刚开始可能是因为没睡醒的原因好半天没解决
Error:Execution failed for task ':app:processDebugManifest'.> Manifest merger failed : Attribute meta-data#android.support.VERSION@value value=(26.0.0-alpha1) from [com.android.support:design:26.0.0-alpha1] AndroidManifest.xml:27:9-38 is also present at [com.android.support:cardview-v7:25.3.1] AndroidManifest.xml:24:9-31 value=(25.3.1). Suggestion: add 'tools:replace="android:value"' to <meta-data> element at AndroidManifest.xml:25:5-27:41 to override.
出现这种原因是因为项目里面引用 buildToolsVersion ‘26.0.0’
而我本地只存在25.0.2 所以更改成25.0.2
然后把所有依赖的26.0.0全部改成了 25.3.1版本….
之后就出现了这个错误…接着就懵逼了,报错指向清单文件…
其实大概就是Gradle之间版本依赖存在冲突,先试了一下自己常用的解决方式
在app 下的gradle中添加
android{ ////////////////其他代码 defaultConfig { multiDexEnabled true //解决冲突,不验证 } }
卒……
于是乎…网上有说在application根节点加上
tools:replace="android:icon,android:theme"
卒….
又看到了一篇帖子
这个帖子
依然卒…..
最后的最后…可是突然间睡醒了…
原来的 provided 'com.android.support:support-annotations:26.0.0-alpha1'忘记改成了 provided 'com.android.support:support-annotations:25.3.1'
就此问题解决….
有时候看问题的时候一定不能睡着啊…
很简单的问题,搞了有一会儿- -!
阅读全文
0 0
- Manifest merger failed : Error:Execution failed for task ':app:processDebugManifest'.
- Error:Execution failed for task ':app:processDebugManifest'. > Manifest merger failed
- Error:Execution failed for task ':protectParentClient2:processDebugManifest'. > Manifest merger fail
- Error:Execution failed for task ':app:processDebugManifest'. > Manifest merger failed with multiple
- Error:Execution failed for task ':app:processDebugManifest'. > Manifest merger failed with multiple
- 终极报错解决方案:Error:Execution failed for task ':app:processDebugManifest'. > Manifest merger failed with
- Error:Execution failed for task ':app:processDebugManifest'. > Manifest merger failed with multiple
- Error:Execution failed for task ':app:processDebugManifest'. > Manifest merger failed with multiple
- Error:Execution failed for task ':app:processDebugManifest'. > Manifest merger failed with multiple
- Error:Execution failed for task ':app:processDebugManifest'. > Manifest merger failed with multiple
- Error:Execution failed for task ':app:processDebugManifest'. > Manifest merger failed with multiple
- Error:Execution failed for task ':app:processDebugManifest'. > Manifest merger failed : Attribute se
- 导SDK报错:Error:Execution failed for task ':app:processDebugManifest'. > Manifest merger failed with mu
- 编译报错Error:Execution failed for task ':app:processDebugManifest'. > Manifest merger failed with mul
- Error:Execution failed for task ':app:processDebugManifest'. > Manifest merger failed with multiple
- Error:Execution failed for task ':app:processDebugManifest'. > Manifest merger failed with multiple
- Error:Execution failed for task ':app:processDebugManifest'. Manifest merger failed with multipl
- Ros下Error:Execution failed for task ':app:processDebugManifest'. > Manifest merger failed : Attribut
- tf.less
- Winform 使用panel 自定义拖动窗体
- CentOS 7 yum 安装 Nginx
- 1010. 一元多项式求导 (25)
- Java读写avro例子
- Error:Execution failed for task ':app:processDebugManifest'. > Manifest merger failed
- scikit-learn中交叉验证及其用于参数选择、模型选择、特征选择的例子
- spyder使用
- selenium之操作ChromeDriver
- 51Nod
- Visual Studio2012 开发windows服务并注册
- CoreOS 实战:剖析 etcd
- c390连接池配置
- 安卓webView开发使用及加载html标签乱码处理