How to find out which library includes which suppo

2019-09-15 03:02发布

问题:

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?

回答1:

You can watch full gradle dependency tree tree using the command below-

gradle app:dependencies

Reference