Class GoogleSignIn not found in auth library

Szymon Gajdzica :

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-auth:11.4.2' in my gradle dependencies.
I got only classes like: GoogleSignInApi or GoogleSignInAccount and i dont know how to import others.
I mean classes like GoogleSignIn or GoogleSignInClient. I just dont see them in library.

Isabella Chen :

GoogleSignIn / GoogleSignInClient were introduced in Google Play services SDK version 11.6.

Older versions have slightly different class names and require a GoogleApiClient.

Please upgrade to 11.6 from Android Studio and configure below dependency.

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

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=437315&siteId=1