java.lang.IllegalStateException: blockingConnect must not be called on the UI thread

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 DobrinAlexandru
, 1 year ago
blockingConnect must not be called on the UI thread
via GitHub by UrbanChrisy
, 1 year ago
GoogleApiClient must be connected.
via auth0.com by Unknown author, 1 year ago
via GitHub by xorgate
, 1 year ago
GoogleApiClient must be connected.
java.lang.IllegalStateException: blockingConnect must not be called on the UI thread
at com.google.android.gms.common.internal.zzv.zza(Unknown Source)
at com.google.android.gms.common.api.zzg.blockingConnect(Unknown Source)
at io.nlopez.smartlocation.location.providers.LocationGooglePlayServicesProvider.start(LocationGooglePlayServicesProvider.java:115)
at io.nlopez.smartlocation.location.providers.LocationGooglePlayServicesWithFallbackProvider.start(LocationGooglePlayServicesWithFallbackProvider.java:54)
at io.nlopez.smartlocation.SmartLocation$LocationControl.start(SmartLocation.java:210)

Users with the same issue

You are the first who have seen this exception.

Write tip

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