Google Play Games Service: Error_Not_Authorized, When Rollout for Beta

Google Play Games Service : ERROR_NOT_AUTHORIZED, when rollout for Beta

Everything is working now.
It was not working due to Google App Signing enabled, i guess we have to do some changes to AndroidManifest.xml for Google Play Games Services to work
see here :- https://support.google.com/googleplay/android-developer/answer/7384423
but solution given below also works fine.

[SOLVED]

What i did :-

  1. Google Play Console -> Select your app -> Release Management -> App signing -> App signing certificate : copy SHA-1 (dont copy word 'SHA1:')

  2. open https://console.developers.google.com/ , select your project -> credentials -> OAuth 2.0 client IDs -> Edit OAuth client -> Signing-certificate fingerprint -> replace the old SHA1 with copied SHA1 ->save.

  3. open you game, you should get sign in -> email selection -> select testers email. Google Play Games Services should work fine now.

Game services not working for app if downloaded from play store

First off, I want to thank everyone who took their time to post an answer. I don't think anyone could have guessed my stupid mistake because it only applies to libGDX users. The problem was that the target sdk in the gradle .build file of BaseGameUtils was not the same as the .build file of the android module. It's amazing how such a small mistake can cost your whole weekend!



Related Topics



Leave a reply



Submit