android studio编译不过,出现Manifest merger failed with multiple errors, see logs

1、问题描述

使用Android Studio 编译不通过,出现Manifest merger failed with multiple errors, see logs.

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

2、解决方案

这种情况下如果没有打开Gradle控制台,Manifest merger failed with multiple errors, see logs.只看到这句,

估计很难找到是什么问题,所以首先打开Gradle Console,查看更多日志,找出问题所在:

 这种情况大多数问题是因为第三发引用版本引起,还有别的其他问题,总之只要找到日志,都是小意思~

我是因为compile 'com.android.support:appcompat-v7:26.+'

和其他版本com.android.support下的引用版本不一致而引起的, 修改成compile'com.android.support:appcompat-v7:25.0.1'

搞定!

猜你喜欢

转载自blog.csdn.net/qq_14902389/article/details/79214226