I'm becoming crazy with this one. I just published a game on Google Play Store and the game uses the Google Play Games services.
Sign-in and leaderboards / achievements worked fined with the application signed with the debug key, but since I built and published my app using my release key, Google+ sign-on is impossible. I always get the infamous error "E/SignInIntentService(25004): There is no linked app associated with this client ID."
I double- and triple-checked everything : my app is published, the package name and SHA1 fingerprint are correct and match what I extracted from the release APK, I unlinked and relinked the app in the Google Play Console multiple times, but nothing works.
Ideas, anyone ?
Thanks
I had the same issue. All you need to do is to make sure before creating a new game, you input the exact package name and the fingerprint certificate (SHA1) that matches your release keystore. My problem is that I put a default fingerprint in the game and decided to change it later. Somehow the google console developer can still detect your previous fingerprint even though you replace it with your final fingerprint. The solution was to delete the first game configuration and created a new one. No need to create or attach your debug certificate.
Is Game Services published in the Google Developer Console? That's a separate step.
If your app itself isn't published (i.e. in beta), only those google accounts associated with a specified google+ or google groups account designated to be your pool of testers will be able to connect.
You also need to verify that the app_id compiled into your app (often in /res/strings.xml) matches the google api console ID. For example there should be a line like:
<string name="app_id">123456789123</string>
And don't get it confused with your facebook application_id!
Beyond that you'll need to check the Google Cloud Console under Overview -> APIs & auth -> Registered apps and verify that the prefix for CLIENT ID matches, that the PACKAGE NAME is correct, and the CERTIFICATE FINGERPRINT (SHA1) matches.
If it doesn't work after all that, you'll be roughly where I find myself currently-- having done all that and still stuck.
There is a bug in Google Play Service...
Don't try to login to the Game Service unless you upload first APK and link the game in Game Service (putting a proper package name is not enought, there must be an first APK uploaded, so during the linking process you can select the app from suggestion list)...
When you try to login before linking first, the services comes into "bad state" and even after you assign a game to the service, the Auth process still claims that it is not linked....
I have made 6 games and had this issue 2 times. The solution is to delete corrupted Game Service. Create new one (recreate whole CFG - sorry about that), reassign APP ID in a game, link the game to the Game Service (through the suggestion list) and then try to login in into service...
Be careful because there is also a lot of misunderstanding "false" notification in the logcat....
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With