当前位置:首页 > 笔记

Manifest merger failed with multiple errors, see logs

jsc7年前 (2019-01-10)笔记4045

在android开发的时候,有时候会遇到这样的问题Error:Executionfailedfortask':test:processDebugManifest'.>Manifestmergerfailedwithmultipleerrors,seelogs但是要命的是,除了这个log,没有什么其他的有用信息了,怎么办?处理方式是这样的:首先进入命令行,输入命令gradlewprocessDebugManifest--stacktrace其中,processDebugM

在android开发的时候,有时候会遇到这样的问题


Error:Execution failed for task ':test:processDebugManifest'.> Manifest merger failed with multiple errors, see logs

但是要命的是,除了这个log,没有什么其他的有用信息了,怎么办?


处理方式是这样的: 

首先进入命令行,输入命令


gradlew processDebugManifest --stacktrace

其中,processDebugManifest是log里面提到的,这个命令是会了获取更多的log信息。




等待一会,结果就出来了,我截取了一部分: 



可见,是由于我们自己的项目最小sdk的版本是14,而使用的库中的最小版本是15,冲突了,所以只要将二者改成同一个就没有问题了。


我一个同事也遇到了这个问题,我用这个方法帮他看了下log, 

 

发现是我们的项目里面将allowBackup设置成了false,但是库里面是true,所以将二者改成同一个就行了。


以上是Manifest merger failed with multiple errors, see logs问题处理的内容,更多 Manifest Multiple 处理 FAILED errors merger 问题 with logs see 的内容,请您使用右上方搜索功能获取相关信息。


注意:在mac下执行的命令是:./gradlew processDebugManifest --stacktrace(即在命令前面加上./)

--------------------- 

作者:嗨摔得漂亮 

来源:CSD

原文:https://blog.csdn.net/dengweijunkedafu/article/details/80541104 


扫描二维码推送至手机访问。

版权声明:本文由微小站发布,如需转载请注明出处。

本文链接:https://jsc0.com/post/169.html

分享给朋友:

“Manifest merger failed with multiple errors, see logs” 的相关文章

java类型

最近在写Java后台, 编译时出现:No enclosing instance of type E is accessible. Must qualify the allocation with an enclosing instance of type E(e.g.  x.new…

Bitmap too large to be uploaded into a texture

从手机相册里面显示图片,但是发现有的图片能显示有的图片不能显示,路径都是对的,程序也没提示任何错误。后来通过看日志发现error message: Bitmap too large to be uploaded into a texture (4208x3120, max=4096x409…

百度地图被外部调用的问题

选择手机里安装的外部地图应用,在外部地图应用里显示商户的位置。˂br style="word-wrap: break-word; color: rgb(68, 68, 68); font-family: "Microsoft Yahei&q…

viewpager、listview、gridview、scrollview去除蓝色阴影

xml:   android:overScrollMode="never"java:    view.setOverScrollMode(ScrollView.OVER_SCROLL_NEVER);…

Notification 8.0 关闭声音震动

NotificationChannel notificationChannel = new NotificationChannel                    (NOTIFICATION_C…