Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Google Play connection issue / package name vs. client id etc. — Gideros Forum

Google Play connection issue / package name vs. client id etc.

seppseppseppsepp Member
edited February 2015 in General questions
Hi @all,

I finally thought I could build an Android release version of my app and push it into the store, but ...

image

I can't find a working solution. The log says:
02-15 10:37:25.572: W/GameHelper(11860): ****
02-15 10:37:25.572: W/GameHelper(11860): ****
02-15 10:37:25.572: W/GameHelper(11860): **** APP NOT CORRECTLY CONFIGURED TO USE GOOGLE PLAY GAME SERVICES
02-15 10:37:25.572: W/GameHelper(11860): **** This is usually caused by one of these reasons:
02-15 10:37:25.572: W/GameHelper(11860): **** (1) Your package name and certificate fingerprint do not match
02-15 10:37:25.572: W/GameHelper(11860): ****     the client ID you registered in Developer Console.
02-15 10:37:25.572: W/GameHelper(11860): **** (2) Your App ID was incorrectly entered.
02-15 10:37:25.572: W/GameHelper(11860): **** (3) Your game settings have not been published and you are 
02-15 10:37:25.572: W/GameHelper(11860): ****     trying to log in with an account that is not listed as
02-15 10:37:25.572: W/GameHelper(11860): ****     a test account.
02-15 10:37:25.572: W/GameHelper(11860): ****
02-15 10:37:25.572: W/GameHelper(11860): **** To help you debug, here is the information about this app
02-15 10:37:25.572: W/GameHelper(11860): **** Package name         : xxx.yyy.zzz
02-15 10:37:25.573: W/GameHelper(11860): **** Cert SHA1 fingerprint: xxxxx
02-15 10:37:25.573: W/GameHelper(11860): **** App ID from          : xxxxx
02-15 10:37:25.574: W/GameHelper(11860): ****
02-15 10:37:25.574: W/GameHelper(11860): **** Check that the above information matches your setup in 
02-15 10:37:25.574: W/GameHelper(11860): **** Developer Console. Also, check that you're logging in with the
02-15 10:37:25.574: W/GameHelper(11860): **** right account (it should be listed in the Testers section if
02-15 10:37:25.574: W/GameHelper(11860): **** your project is not yet published).
02-15 10:37:25.574: W/GameHelper(11860): ****
02-15 10:37:25.574: W/GameHelper(11860): **** For more information, refer to the troubleshooting guide:
02-15 10:37:25.574: W/GameHelper(11860): ****   <a href="http://developers.google.com/games/services/android/troubleshooting" rel="nofollow">http://developers.google.com/games/services/android/troubleshooting</a>
And then:
02-15 10:37:25.574: W/ResourceType(11860): No known package when getting value for resource number 0xffffffff
02-15 10:37:25.574: W/System.err(11860): android.content.res.Resources$NotFoundException: String resource ID #0xffffffff
02-15 10:37:25.574: W/System.err(11860): 	at android.content.res.Resources.getText(Resources.java:274)
02-15 10:37:25.575: W/System.err(11860): 	at android.content.res.Resources.getString(Resources.java:360)
02-15 10:37:25.575: W/System.err(11860): 	at android.content.Context.getString(Context.java:376)
02-15 10:37:25.575: W/System.err(11860): 	at com.giderosmobile.android.plugins.googleplaygame.GameHelperUtils.getString(GameHelperUtils.java:172)
02-15 10:37:25.575: W/System.err(11860): 	at com.giderosmobile.android.plugins.googleplaygame.GameHelper.showFailureDialog(GameHelper.java:945)
02-15 10:37:25.575: W/System.err(11860): 	at com.giderosmobile.android.plugins.googleplaygame.GameHelper.showFailureDialog(GameHelper.java:926)
02-15 10:37:25.575: W/System.err(11860): 	at com.giderosmobile.android.plugins.googleplaygame.GameHelper.giveUp(GameHelper.java:904)
02-15 10:37:25.575: W/System.err(11860): 	at com.giderosmobile.android.plugins.googleplaygame.GameHelper.onActivityResult(GameHelper.java:615)
02-15 10:37:25.575: W/System.err(11860): 	at com.giderosmobile.android.plugins.googleplaygame.GGooglePlay.onActivityResult(GGooglePlay.java:95)
02-15 10:37:25.575: W/System.err(11860): 	at java.lang.reflect.Method.invoke(Native Method)
02-15 10:37:25.575: W/System.err(11860): 	at java.lang.reflect.Method.invoke(Method.java:372)
02-15 10:37:25.575: W/System.err(11860): 	at com.giderosmobile.android.player.GiderosApplication.executeMethod(GiderosApplication.java:95)
02-15 10:37:25.575: W/System.err(11860): 	at com.giderosmobile.android.player.GiderosApplication.onActivityResult(GiderosApplication.java:424)
02-15 10:37:25.575: W/System.err(11860): 	at com.giderosmobile.android.SoledadActivity.onActivityResult(SoledadActivity.java:137)
02-15 10:37:25.575: W/System.err(11860): 	at android.app.Activity.dispatchActivityResult(Activity.java:6135)
02-15 10:37:25.575: W/System.err(11860): 	at android.app.ActivityThread.deliverResults(ActivityThread.java:3535)
02-15 10:37:25.575: W/System.err(11860): 	at android.app.ActivityThread.handleSendResult(ActivityThread.java:3582)
02-15 10:37:25.575: W/System.err(11860): 	at android.app.ActivityThread.access$1300(ActivityThread.java:144)
02-15 10:37:25.575: W/System.err(11860): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1327)
02-15 10:37:25.575: W/System.err(11860): 	at android.os.Handler.dispatchMessage(Handler.java:102)
02-15 10:37:25.575: W/System.err(11860): 	at android.os.Looper.loop(Looper.java:135)
02-15 10:37:25.575: W/System.err(11860): 	at android.app.ActivityThread.main(ActivityThread.java:5221)
02-15 10:37:25.575: W/System.err(11860): 	at java.lang.reflect.Method.invoke(Native Method)
02-15 10:37:25.575: W/System.err(11860): 	at java.lang.reflect.Method.invoke(Method.java:372)
02-15 10:37:25.575: W/System.err(11860): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
02-15 10:37:25.575: W/System.err(11860): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
02-15 10:37:25.576: W/GameHelper(11860): *** GameHelper could not found resource id #-1. This probably happened because you included it as a stand-alone JAR. BaseGameUtils should be compiled as a LIBRARY PROJECT, so that it can access its resources. Using a fallback string.
Is there something wrong with the Google Play Plugin docs (http://giderosmobile.com/labs/google-play-services)? There isn't said anything about GameHelperUtils being a project.


Thanks a lot in advance for your help.
google-play.jpg
500 x 176 - 21K

Comments

  • Google Play services will give that error if you run the app through the Gideros Player (even if the player is built with the same package name). The way to test is to make a full build of the game and install that. I would be very pleased to be proven wrong, by that's the behaviour I see.

    Nic
    My Gideros games: www.totebo.com
  • The error occurred with the finished built release version. Cause seemed to be: I didn't take care from on the first second, that the SHA1 string matched. And changing / correcting it later didn't work. I had to set a completely new Google Games Service game and link it with the app. Pain in the ass. I've read a shitload of tips and documentation the last two days. But setting up Google Game Service from scratch was the only thing that helped.

    (Don't get me wrong: I like Google Play a lot - especially the interface and possibilities. But this ^^ annoyed me a lot. Nevertheless I've learned a lot.)
Sign In or Register to comment.