Google Sign In trouble after using baseGameUtils Android Studio

130 views Asked by At

After extending BaseGameActivity on MainActivity, when you open the game it shows the animation of connecting to Google Play Games but at the end shows the message Failed to sign in. How can i solve it?

1

There are 1 answers

1
abielita On

You may follow this documentation that describes how to troubleshoot issues that you might encounter while developing Android games with the Play Games SDK.

If you are unable to sign players into your game, first make sure that you have followed the instructions to create your client IDs and configure the games services.

If you still encounter sign-in errors, check the following items to make sure that your game is set up correctly.

If you are using Proguard and are seeing errors on the obfuscated APK, check the target API level on your AndroidManifest.xml. Make sure to set it to 17 or above.

Here's another reference which might also help: Google Play Services fails to connect