I am getting this error message when trying to implement logout for Google Sign-In for Android:
Caused by: java.lang.IllegalStateException: GoogleApiClient i
You should ditch the threading and just create a second GoogleApiClient
. According to this post (https://stackoverflow.com/a/25190497/608347) the client isn't a heavy object so might as well avoid the confusing design and make things simple. Even if you dont go down this path you should strip out that #setClient
and #getClient
code and see if you get the same error when disconnecting from a single activity