Google Play Game Services - Unable to log in to Game Center

Things I have done so far:

  • added and linked my application in Dev Console (game services)

  • included App_id in my application / manifest

  • added BaseGameActivity and GameHelper to my project (from GitHub)

  • added google-play-services library to my project

  • extended BaseGameActivity

What is ee in the magazine:

GameHelper: **** APP NOT CORRECTLY CONFIGURED TO USE GOOGLE PLAY GAME SERVICES GameHelper: **** This is usually caused by one of these reasons: GameHelper: **** (1) Your package name and certificate fingerprint do not match GameHelper: **** the client ID you registered in Developer Console. GameHelper: **** (2) Your App ID was incorrectly entered. GameHelper: **** (3) Your game settings have not been published and you are GameHelper: **** trying to log in with an account that is not listed as GameHelper: **** a test account. 
  • I took App_id from the console, it is 100% correct.
  • I am trying to log in to a test account
  • SHA1 and the package name is 100% correct.

How can I check where the problem is?

ps I see a client identifier on the console that looks like this: 165 * ** 6 -. *** apps.googleusercontent.com

Should I use it?

+6
source share
3 answers

In console, you must add different SHA1s to a different client identifier.

At first I added debug and released SHA1 in a single client identifier - it didn’t work. Created two different client identifiers - now it works.

0
source

Check out our troubleshooting guide . It covers many common tuning problems, and in our experience it solves 80% of the problems. In addition, the previous sentence contains an arbitrary percentage.

+2
source

You only want to use the numbers "165 * 6- *" in the client ID. Do not add the ".apps.googleusercontent.com" part.

Link

The best link, see note text

0
source

Source: https://habr.com/ru/post/959454/


All Articles