Android studio 项目升级

最近升级了Android studio 的版本,结果发现会报 Error:Execution failed for task ':app:processDebugManifest'.
> Manifest merger failed with multiple errors, see logs

以为是类库冲突的问题,于是 terminate界面 输入 gradlew app:dependencies

又发现Unsupported major.minor version 52.0报错, 这个也不成功

各种百度 google 改了 JDK 版本 也不行,最后发现  腾讯管家(这个太大了) 竟然挡住我的 

我才想起来 原来see logs 是叫我看这里面的东西,我还一直纳闷 叫我看啥呀,eventlog 里面什么也没说,然后就在里面发现真正的问题:

app\src\main\AndroidManifest.xml Error:
	uses-sdk:minSdkVersion 11 cannot be smaller than version 14 declared in library 

看到这个就明白了。萌新请自己百度吧。

最后希望大家和我一定要记住这个 gradle console 这里面才是编译的 日志,如果遇到不知道什么问题的编译错误这里面会给出非常有用的信息的。

猜你喜欢

转载自blog.csdn.net/yyo201/article/details/81168784