Error:Execution failed for task ':protectParentClient2:processDebugManifest'. > Manifest merger fail
来源:互联网 发布:合肥工业大学网络视频 编辑:程序博客网 时间:2024/06/10 16:53
出现这个的错误,一般的情况下,是使用android studio时,没有使用在线依赖包所致。
首先知道哪些 原因,可以导致这个问题。
一般原因有3:
1,依赖包的build.gradle 中版本与主项目中版本不同,解决方法:改为相同的即可。
2,AndroidStudio的Gradle插件默认会启用Manifest Merger Tool,若你导入的Library项目中也定义了与主项目相同的属性,则此时会合并失败,并报上面的错误。
解决方法:在Manifest.xml文件里的application中加上tools:replace="label" ,(Theme也冲突的就这么写:tools:replace=”android:theme”)记得要在manifest跟标签加上xmlns:tools=”http://schemas.android.com/tools
3,AndroidManifest.xml中有错误。解决方法:改正错误。
其次,你需要确定你是因为哪个错误导致产生了这个问题,点击“Show Console Output”,如下图所示:
点击之后,在右侧,会出现具体的错误信息,清楚自己的错误,然后按照上面的解决方法解决即可。
阅读全文
0 0
- Error:Execution failed for task ':protectParentClient2:processDebugManifest'. > Manifest merger fail
- 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 ':app:processDebugManifest'. > Manifest merger failed with multiple
- Error:Execution failed for task ':app:processDebugManifest'. > Manifest merger failed with multiple
- Error:Execution failed for task ':XXXX: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 ':XXXX: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 ':arc-1-8:processDebugManifest'. > Manifest merger failed : Attribut
- Error:Execution failed for task ':app:processDebugManifest'. > Manifest merger failed with multiple
- Error:Execution failed for task ':innerBuy20:processDebugManifest'. > Manifest merger failed with mu
- 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
- C#Stream、BaseStream、StreamReader、BinaryReader、Convert.ToInt32、int32.Parse()
- IncompatibleClassChangeError
- numpy方法总结
- 回溯法
- Android热补丁动态修复技术(一):从Dex分包原理到热补丁
- Error:Execution failed for task ':protectParentClient2:processDebugManifest'. > Manifest merger fail
- DOM知识块的笔记总结
- Tokenization in C++11
- Spring定时任务的几种实现
- python 类的继承与重载
- vue与angular和react框架原理对比小结及兼容性
- RecyclerView最佳实践
- 碎片化自我提升:为大学生推荐的优质APP
- 软件设计的切入点是什么?如何从最初的需求提取出一个粗粒度的软件结构?