代码之家  ›  专栏  ›  技术社区  ›  Abhishek Borikar

Google sign auth错误

  •  0
  • Abhishek Borikar  · 技术社区  · 8 年前

    我在google登录身份验证期间遇到错误。以下是错误:

    Error:Execution failed for task ':app:processDebugGoogleServices'.
    > Please fix the version conflict either by updating the version of the google-services plugin (information about the latest version is available at https://bintray.com/android/android-tools/com.google.gms.google-services/) or updating the version of com.google.android.gms to 16.0.1.
    

    implementation 'com.google.firebase:firebase-auth:16.0.1'
    implementation 'com.google.android.gms:play-services-auth:15.0.1'
    

    如何修复它??

    1 回复  |  直到 8 年前
        1
  •  1
  •   Remi Rønning    8 年前

    答案在错误消息中:

    “请通过更新google services插件的版本来解决版本冲突(有关最新版本的信息,请访问 https://bintray.com/android/android-tools/com.google.gms.google-services/ )或更新的版本谷歌安卓.gms至16.0.1。”

    设置'谷歌安卓.gms:播放服务身份验证:15.0.1'至“16.0.1”。

    还要检查您是否在firebase控制台中启用了身份验证(不确定您使用哪种身份验证方法,但启用您使用的方法)。