Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

google play game services - testing accounts login results in unknown error

I've followed the tutorials on how to implement the google play game services for android and have ended up with the simple google+ sign in. I tried how ever to login before I had fixed a problem. And now I can't login using this account, but I can if I use a different one.

The error I get with the first account is:

06-05 16:49:03.226: W/dqi(19754): Authentication error: Unable to respond to any of these challenges: {bearer=WWW-Authenticate: Bearer realm="https://www.google.com/accounts/AuthSubRequest", error=invalid_token}
06-05 16:49:03.226: E/Volley(19754): [4376] il.a: Unexpected response code 401 for https://www.googleapis.com/games/v1/players/115167649949168063107
06-05 16:49:03.515: W/dqi(19754): Authentication error: Unable to respond to any of these challenges: {bearer=WWW-Authenticate: Bearer realm="https://www.google.com/accounts/AuthSubRequest", error=invalid_token}
06-05 16:49:03.515: E/Volley(19754): [4376] il.a: Unexpected response code 401 for https://www.googleapis.com/games/v1/players/115167649949168063107
06-05 16:49:04.280: W/dqi(19754): Authentication error: Unable to respond to any of these challenges: {bearer=WWW-Authenticate: Bearer realm="https://www.google.com/accounts/AuthSubRequest", error=invalid_token}
06-05 16:49:04.280: E/Volley(19754): [4375] il.a: Unexpected response code 401 for https://www.googleapis.com/games/v1/players/115167649949168063107
06-05 16:49:04.593: W/dqi(19754): Authentication error: Unable to respond to any of these challenges: {bearer=WWW-Authenticate: Bearer realm="https://www.google.com/accounts/AuthSubRequest", error=invalid_token}
06-05 16:49:04.593: E/Volley(19754): [4375] il.a: Unexpected response code 401 for https://www.googleapis.com/games/v1/players/115167649949168063107
06-05 16:49:04.648: E/SignInIntentService(19754): User has not completed registration.
06-05 16:49:04.648: E/SignInIntentService(19754): aol
06-05 16:49:04.648: E/SignInIntentService(19754):   at ajy.a(SourceFile:108)
06-05 16:49:04.648: E/SignInIntentService(19754):   at abm.a(SourceFile:213)
06-05 16:49:04.648: E/SignInIntentService(19754):   at abm.a(SourceFile:194)
06-05 16:49:04.648: E/SignInIntentService(19754):   at aav.a(SourceFile:486)
06-05 16:49:04.648: E/SignInIntentService(19754):   at aqu.a(SourceFile:221)
06-05 16:49:04.648: E/SignInIntentService(19754):   at com.google.android.gms.games.service.GamesSignInIntentService.onHandleIntent(SourceFile:343)
06-05 16:49:04.648: E/SignInIntentService(19754):   at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
06-05 16:49:04.648: E/SignInIntentService(19754):   at android.os.Handler.dispatchMessage(Handler.java:99)
06-05 16:49:04.648: E/SignInIntentService(19754):   at android.os.Looper.loop(Looper.java:137)
06-05 16:49:04.648: E/SignInIntentService(19754):   at android.os.HandlerThread.run(HandlerThread.java:60)

Which results with the little dialog that says unknown error.

My guess is that its some cache stored somewhere for this app when I authorised it to use my G+ account. How can I revert this so it works with my first account again?

like image 231
just_user Avatar asked Jan 14 '23 05:01

just_user


1 Answers

Try going to your Google+ settings on your device and purging the access that you had granted the app. Afterwards, MANUALLY set up Google+ for your test account, either through a PC/Mac web browser or through your device, then try re-linking the app. This worked for me.

Exact steps for Samsung Galaxy S3:

Settings -> Google -> Google+ -> Apps with Google+ Sign-In -> tap the app and at the bottom, tap Disconnect App.

For what it’s worth, I also tapped the option to “Delete all activity for this app” as well when I deleted it.

like image 62
Eternalspirit Avatar answered May 06 '23 22:05

Eternalspirit