打開Android Studio右側(cè)Gradle,然后找到項目下的androidDependencies,雙擊執(zhí)行。

工具查看
正常情況下就可以看到這個module的依賴如下:

該module的依賴
但Android Studio 3.1.2(我目前的版本)會顯示成 :

不顯示分級的依賴
那就改用命令行的方式(適用于windows):
$ gradlew :app:dependencies --configuration compile
其中 app使用你的module名來替換。
mac版本的話:
$ ./gradlew :app:dependencies
這樣就能看到正常的輸出了。
栗子??:本次庫沖突是由于support-v4存在兩個不同的版本,導致gradle無法通過。
找出差異版本exclude掉沖突的
implementation ('com.qiyukf.unicorn:unicorn:4.0.0'){
exclude module: 'support-v4'
}