简体   繁体   English

如何找出哪个库包含哪个支持库版本

[英]How to find out which library includes which support library version

I get following warning: 我收到以下警告:

All com.android.support libraries must use the exact same version specification...

I know what that means, but now I'm stuck on how to easily find out which dependency does include the conflicting versions. 我知道这是什么意思,但是现在我仍然停留在如何轻松找出哪个依赖项确实包含冲突版本的问题上。 I want to exclude the support library from them like following: 我想从他们排除支持库,如下所示:

compile ('...')  {
    exclude group: 'android.support'
}

But how do I identify the dependencies that are responsible? 但是, 如何确定负责的依存关系?

You can watch full gradle dependency tree tree using the command below- 您可以使用以下命令查看完整的gradle依赖关系树-

gradle app:dependencies

Reference 参考

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM