All firebase libraries must be either above or below 14.0.0

后端 未结 10 575
孤街浪徒
孤街浪徒 2021-01-03 18:48

I have checked my app build.gradle file and these are the only lines that are related to firebase in them

/***
 * Firebase
 */
implementation \'com.google.f         


        
相关标签:
10条回答
  • 2021-01-03 18:58

    Turns out I forgot to change the version number for com.google.android.gms:play-services-ads, switched it to 15.0.0 and it worked.

    Here's a blog by Google that provides more information. Announcing new SDK versioning in Google Play services and Firebase

    0 讨论(0)
  • 2021-01-03 19:05
    apply plugin: 'com.google.gms.google-services'
    

    put it under this line.

    apply plugin: 'com.android.application'
    

    it worked for me.

    0 讨论(0)
  • 2021-01-03 19:05

    Remove this from App level gradle

    implementation 'com.google.android.gms:play-services-maps:15.0.0'
    

    and then try these versions

    compile 'com.google.firebase:firebase-core:11.8.0'
    compile 'com.google.firebase:firebase-messaging:11.8.0'
    compile 'com.google.firebase:firebase-database:11.8.0'
    compile 'com.google.firebase:firebase-auth:11.8.0'
    

    this one worked for me... tanx

    0 讨论(0)
  • For example change implementation 'com.google.android.gms:play-services-appindexing:9.8.0' to implementation 'com.google.firebase:firebase-appindexing:15.0.1' , as this suggestion comes in the warning in build.gradle.

    0 讨论(0)
  • 2021-01-03 19:08

    What worked for me was changing com.google.android.gms:play-services-location:15.+ to com.google.android.gms:play-services-location:11.6.2 so that it's the same version as my com.google.firebase:firebase-messaging:11.6.2 library.

    The change was in file platform/android/project.properties.

    The location and push notifications library is working perfect now

    0 讨论(0)
  • 2021-01-03 19:09

    Change all of your firebase libraries to the same version.

    0 讨论(0)
提交回复
热议问题