failed to sign in

I am trying to make simple game with Google Play Games Services, but I failed to sign in to Google Play Games.

I get this error:

Failed to sign in. Please check your network connection and try again.

I have MainActivity, and three fragmenets (MainFragment, GameFragment and ResultFragment).

MainFragment is fragment for main menu, where use have button to click to start the game.

Authorization?

I have linked and authorized my game with SHA-1 in Google Play Developer Console.

As I use Android Studio my package name looks something like: aplikacijezaandroid.thebuttonchallenge, and I added two app version in linked apps on Google Play Developer Console.

So I have com.aplikacijezaandroid.thebuttonchallenge, and aplikacijezaandorid.thebuttonchallenge

App ID?

I added app id, and leaderboard id into strings.xml and I added meta tag to Android Manifest.

I have added Internet permission in AndroidManifest.xml

Testing?

I test and debug app from Android Studio with physical device and ofc there is my own gmail added as test user in Google Play Developer Console.

Here is my AndroidManifest.xml

Here is MainActivity class:

6 Answers 6

I have solved this problem, so I will post the answer.

I have moved app id and leaderboard id from strings.xml to ids.xml in values folder.

I have deleted all client ids and add again client ids for debug keystore and release keystore.

If you haven’t published your app/game: After you done every usual step, make sure you test your app/game with a device has only the test account/s. I checked every step a few times and ended with this weird problem. Lastly i tested my app with a device has only test account i added on Developer Console. It worked. Hope, this helps someone else.

In my case the problem was one of gmail accounts (out of two) was not added to the testers accounts at the play store and was the default account for my device.

I removed the account to make the other account (testers account at playstore) default and added it back again, and it started working

In my case.I setted one test account,but my device has an default account which is another,that’s why I got this error.My mistake but Why can’t google gives us an more obvious error report?

Here is how I worked this out.All my test was under debug version using test account. I delete the project, both in google play develper console and google Api console.And recreate one as mentioned by others on stackoverflow.But this does’t help.I redo this and ends up in vane.

I cheked found in log these same words:

03-09 16:15:39.897: E/GameAgent(1225): Unable to retrieve application xxxxxxx from network 03-09 16:15:39.902: E/GameAgent(1225): Application ID xxxxxxx is not associated with package com.gyj.pub.gpgsDemo. Check the application ID in your manifest. 03-09 16:15:39.906: E/CheckGameplayAcl(23917): Unable to load metadata for game 03-09 16:15:39.906: W/SignInActivity(23917): onSignInFailed().

one more,I checked all the 3 elements below ,decide whether the client apk is conform with Google Play Deverloper Console’s configuration. 1.package name .It is all the same. 2.Certification SHA1 fingerprint.(debug and release). 3.test Account.

  • Mark as New
  • Bookmark
  • Subscribe
  • Subscribe to RSS Feed
  • Get shareable link
  • Print
  • Email to a Friend
  • Report

Product : Star Wars: Galaxy of Heroes
Platform : Android Phone
What type of device are you experiencing the issue with? Droid Turbo 2
OS Version Android 7
Ally Code: (Find it here: http://bit.ly/AllyCode )
What type of issue do you have? Network/Connection
How often does the bug occur? Every time (100%)
Summarize your bug Can’t logon with Google Play. I get an error that says, «Failed to sign in. Please check your network connection and try again.» My network is fine and I’m able to log in and out of Google Play on every other mobile game I have installed.
Steps: How can we find the bug ourselves? Try to login to Google Play from the app on an Android.
Connection Type Wifi
Please select your region North America
Country United States

It seems like this is an ongoing problem going back years. Nothing on these or any other forums has helped resolve this issue.

  • Mark as New
  • Bookmark
  • Subscribe
  • Subscribe to RSS Feed
  • Get shareable link
  • Print
  • Email to a Friend
  • Report

I have been getting this message all day today! Been working on a solution for 14 hours now with absolutely zero luck. I’ve tried it all: changing the date/time, clearing caches, removing and reinstalling apps, deleting and inserting new accounts. Nothing is working. I have tried to connect with two tablets (one of which I’ve been using with ZERO problems now for seven months), a new high end Samsung phone, and finally with Bluestacks on my gaming computer (which is hard-wired, NOT on wi-fi.). My router ports are set up specifically for the EA servers (I got the ports from EA directly). I’m running out of ideas, fellows! Today, I’ve been in contact with Google and we ran through their whole checklist even though I’d already done all these steps at least 4 times already, and she finally gave up and blamed it on EA. I contacted EA and their guy pretty much blew me off and said I should contact my local ISP. I don’t mean to be a whiner, but I’ve got pancreatic cancer and don’t have the time or strength to deal with this stuff. I just want my game back that I’ve worked so hard on so I can have fun in the last months I have left. Can I get some real help on this?

Lots of people just blow it off and say «ah, give it a day or two, it’ll just straighten itself out.» I don’t know if this is true or not, but please, help me out here. That’s just a day or two of me having nothing to do but stare at a wall and miss the family I’ve made in my guild. Me not being on after being close to death this weekend will have them seriously worried.

Thanks for everything! Happy Hunting to all!

Оцените статью