Android Studio 查看依赖冲突

2019-04-01  本文已影响0人  Android_冯星
./gradlew :app:dependencies --configuration compile

查看依赖冲突

例如:

报错信息

All com.android.support libraries must use the exact same version specification (mixing versions can lead to runtime crashes). Found versions 28.0.0, 25.2.0. Examples include com.android.support:animated-vector-drawable:28.0.0 and com.android.support:support-media-compat:25.2.0 

解决办法

api ('com.alibaba:arouter-api:1.4.1'){
        //exclude group: 'com.android.support'
    }
上一篇下一篇

猜你喜欢

热点阅读