Firebase version conflicts with support library

前端 未结 3 1759
挽巷
挽巷 2021-01-26 02:15

I know this is a common question and I already read several posts and modify many times my gradle file but I can\'t find the solution.

The error message i

3条回答
  •  攒了一身酷
    2021-01-26 02:51

    Using gradle app:dependencies, get a list of dependencies:

     +--- org.jetbrains.kotlin:kotlin-stdlib-jre7:..
    |    \--- org.jetbrains.kotlin:kotlin-stdlib:..
    |         \--- org.jetbrains:annotations:...
    +--- com.google.firebase:firebase-core:16....
    |    +--- com.google.firebase:firebase-analytics:16...
    |    |    +--- com.google.android.gms:play-services-basement:15....
    |    |    |    \--- com.android.support:support-v4:26.1.0
    |    |    |         +--- com.android.support:support-compat:26.1.0 ->.......
    

    it shows firebase needed com.android.support:support-v4:26.1.0, so you have to overwritten it with com.android.support:support-v4:28.0.0

提交回复
热议问题