Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting crash: java.lang.IllegalStateException: GoogleApiClient is not connected yet. #281

Open
tashariko opened this issue May 28, 2021 · 1 comment

Comments

@tashariko
Copy link

We are using version 3.3.3.
Getting this crash in our project.

Fatal Exception: java.lang.IllegalStateException: GoogleApiClient is not connected yet.
at com.google.android.gms.common.api.internal.zaaf.zab(zaaf.java:134)
at com.google.android.gms.common.api.internal.zaaz.zab(zaaz.java:23)
at com.google.android.gms.common.api.internal.zaar.execute(zaar.java:71)
at com.google.android.gms.internal.location.zzae.addGeofences(zzae.java:6)
at com.google.android.gms.internal.location.zzae.addGeofences(zzae.java:5)
at io.nlopez.smartlocation.geofencing.providers.GeofencingGooglePlayServicesProvider.onConnected(GeofencingGooglePlayServicesProvider.java:202)
at com.google.android.gms.common.internal.zaj.zaa(zaj.java:30)
at com.google.android.gms.common.api.internal.zaar.zaa(zaar.java:295)
at com.google.android.gms.common.api.internal.zaaf.zaf(zaaf.java:130)
at com.google.android.gms.common.api.internal.zaaf.zaa(zaaf.java:108)
at com.google.android.gms.common.api.internal.zaaz.onConnected(zaaz.java:105)
at com.google.android.gms.common.api.internal.zaq.onConnected(zaq.java:5)
at com.google.android.gms.common.internal.zah.onConnected(zah.java:2)
at com.google.android.gms.common.internal.BaseGmsClient$zzf.zza(BaseGmsClient.java:24)
at com.google.android.gms.common.internal.BaseGmsClient$zza.zza(BaseGmsClient.java:12)
at com.google.android.gms.common.internal.BaseGmsClient$zzc.zzc(BaseGmsClient.java:11)
at com.google.android.gms.common.internal.BaseGmsClient$zzb.handleMessage(BaseGmsClient.java:49)
at android.os.Handler.dispatchMessage(Handler.java:107)
at com.google.android.gms.internal.common.zzi.dispatchMessage(zzi.java:8)
at android.os.Looper.loop(Looper.java:237)
at android.app.ActivityThread.main(ActivityThread.java:7948)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1075)

@elfiservice
Copy link

hi @tashariko could you tell me if did you fix this ? I'm facing this same problem right now tks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants