Error : Please fix the version conflict either by updating the version of the google-services plugin

后端 未结 1 1672
陌清茗
陌清茗 2020-11-27 08:32

I\'m having a problem with Google Services plugin.

I updated google services to the latest version. I got a dependency from this site: https://bintray.com/android/an

相关标签:
1条回答
  • 2020-11-27 09:06

    Use the same version of firebase and Google play services

    compile 'com.google.firebase:firebase-database:11.4.2'
    compile 'com.google.firebase:firebase-auth:11.4.2'
    compile 'com.google.firebase:firebase-storage:11.4.2'
    
    //Remove this dependency
    //compile 'com.google.gms:google-services:3.1.1'
    
    //Add this dependency if you need Google play services 
    compile 'com.google.android.gms:play-services:11.4.2'
    
    0 讨论(0)
提交回复
热议问题