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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via auth0.com by Unknown author, 1 year ago
via GitHub by UrbanChrisy
, 1 year ago
GoogleApiClient must be connected.
via GitHub by DobrinAlexandru
, 1 year ago
blockingConnect must not be called on the UI thread
java.lang.IllegalStateException: GoogleApiClient must be connected.
at com.google.android.gms.common.internal.zzv.zza(Unknown Source)
at com.google.android.gms.plus.Plus.zzf(Unknown Source)
at com.google.android.gms.internal.zzll.clearDefaultAccount(Unknown Source)
at com.auth0.googleplus.GooglePlusIdentityProvider.clearSession(GooglePlusIdentityProvider.java:121)
at com.auth0.lock.LockActivity.onAuthenticationError(LockActivity.java:224)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
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.fragment.DatabaseLoginFragment$7.onFailure(DatabaseLoginFragment.java:295)
at com.auth0.api.authentication.AuthenticationRequest$1$1.onFailure(AuthenticationRequest.java:101)
at com.auth0.api.internal.BaseRequest$2.run(BaseRequest.java:95)
at android.os.Handler.handleCallback(Handler.java:810)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:209)
at android.app.ActivityThread.main(ActivityThread.java:5979)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1044)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

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