Class GoogleSignIn not found in auth library

后端 未结 3 1141
无人共我
无人共我 2021-02-20 07:33

I have got problem with signing to Google play by android app, i added: compile \'com.google.firebase:firebase-auth:11.4.2\' and compile \'com.google.android.gms:play-services-a

3条回答
  •  暖寄归人
    2021-02-20 07:59

    Here is the release note for version 11.6.0

    In Auth Library :

    Added the GoogleSignInClient and GoogleSignIn classes. GoogleSignInClient provides the entry point for interacting with the Google Sign In API.

    so inject 11.6.0 version of auth artifact.

    compile 'com.google.android.gms:play-services-auth:11.6.0'
    

    compile now deprecated so it's better to use implementation

    implementation 'com.google.android.gms:play-services-auth:11.6.0'
    

提交回复
热议问题