java.lang.IllegalStateException: GoogleApiClient must be connected.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by pmq
, 1 year ago
GoogleApiClient must be connected.
via GitHub by rciovati
, 1 year ago
GoogleApiClient is not configured to use the Plus.API Api. Pass this into GoogleApiClient.Builder#addApi() to use this feature.
via Stack Overflow by Unknown author, 2 years ago
GoogleApiClient must be connected.
via GitHub by corinzio
, 1 year ago
GoogleApiClient must be connected.
java.lang.IllegalStateException: GoogleApiClient must be connected.
at com.google.android.gms.common.internal.zzx.zza(Unknown Source)
at com.google.android.gms.plus.Plus.zzf(Unknown Source)
at com.google.android.gms.internal.zztm.clearDefaultAccount(Unknown Source)
at com.auth0.googleplus.GooglePlusIdentityProvider.clearSession(GooglePlusIdentityProvider.java:108)
at com.auth0.lock.LockActivity.onAuthenticationError(LockActivity.java:221)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.squareup.otto.EventHandler.handleEvent(EventHandler.java:89)
at com.squareup.otto.Bus.dispatch(Bus.java:384)
at com.squareup.otto.Bus.dispatchQueuedEvents(Bus.java:367)
at com.squareup.otto.Bus.post(Bus.java:336)
at com.auth0.lock.identity.LockIdentityProviderCallback.onFailure(LockIdentityProviderCallback.java:62)
at com.auth0.googleplus.GooglePlusIdentityProvider.onConnectionFailed(GooglePlusIdentityProvider.java:147)
at com.google.android.gms.common.internal.zzl.zzg(Unknown Source)
at com.google.android.gms.common.api.zzd.zza(Unknown Source)
at com.google.android.gms.common.api.zzd.zzie(Unknown Source)
at com.google.android.gms.common.api.zzd.zzc(Unknown Source)
at com.google.android.gms.common.api.zzd$9.onConnectionFailed(Unknown Source)
at com.google.android.gms.common.internal.zzl.zzg(Unknown Source)
at com.google.android.gms.common.internal.zzk$zza.zzf(Unknown Source)
at com.google.android.gms.common.internal.zzk$zza.zzc(Unknown Source)
at com.google.android.gms.common.internal.zzk$zza.zzi(Unknown Source)
at com.google.android.gms.common.internal.zzk$zzc.zzjg(Unknown Source)
at com.google.android.gms.common.internal.zzk$zzb.handleMessage(Unknown Source)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:146)
at android.app.ActivityThread.main(ActivityThread.java:5679)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1291)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1107)

Users with the same issue

2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.