I'm trying the new Google Play Game Services.
At first I followed this howto https://developers.google.com/games/services/android/quickstart and then finished this https://developers.google.com/games/services/android/init
I end up like this:
05-16 20:01:39.034: E/AndroidRuntime(18257): FATAL EXCEPTION: main 05-16 20:01:39.034: E/AndroidRuntime(18257): java.lang.IllegalStateException: A fatal developer error has occurred. Check the logs for further information. 05-16 20:01:39.034: E/AndroidRuntime(18257): at com.google.android.gms.internal.p$f.a(Unknown Source) 05-16 20:01:39.034: E/AndroidRuntime(18257): at com.google.android.gms.internal.p$f.a(Unknown Source) 05-16 20:01:39.034: E/AndroidRuntime(18257): at com.google.android.gms.internal.p$b.p(Unknown Source) 05-16 20:01:39.034: E/AndroidRuntime(18257): at com.google.android.gms.internal.p$a.handleMessage(Unknown Source) 05-16 20:01:39.034: E/AndroidRuntime(18257): at android.os.Handler.dispatchMessage(Handler.java:99) 05-16 20:01:39.034: E/AndroidRuntime(18257): at android.os.Looper.loop(Looper.java:137) 05-16 20:01:39.034: E/AndroidRuntime(18257): at android.app.ActivityThread.main(ActivityThread.java:5041) 05-16 20:01:39.034: E/AndroidRuntime(18257): at java.lang.reflect.Method.invokeNative(Native Method) 05-16 20:01:39.034: E/AndroidRuntime(18257): at java.lang.reflect.Method.invoke(Method.java:511) 05-16 20:01:39.034: E/AndroidRuntime(18257): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793) 05-16 20:01:39.034: E/AndroidRuntime(18257): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560) 05-16 20:01:39.034: E/AndroidRuntime(18257): at dalvik.system.NativeStart.main(Native Method)
I've tried to follow the tutorial step by step. I don't understand what is going wrong.
ava.lang.IllegalStateException: A fatal developer error has occurred. Check the logs for further information.
I thought that logcat = logs and there is nothing more. So where can I find these "logs"?
My implementation is different only in one thing. I have a ClassA which extends BaseGameActivity and then ClassB which extends ClassA and implements View.OnClickListener So I have all methods from https://developers.google.com/games/services/android/init in class ClassB
Thanks for any help
I had the same problem initially. What I had to do was look at the full, unfiltered LogCat log. There, I saw the message:
GamesIntentService(17929): Using Google Play games services requires a metadata tag with the name "com.google.android.gms.games.APP_ID" in the application tag of your manifest
So, assuming you created an entry in your strings.xml
called app_id
, try adding the following to your AndroidManifest.xml
under the <application>
tag:
<meta-data android:name="com.google.android.gms.games.APP_ID" android:value="@string/app_id" />
You can find your APP_ID in the Games Services tab
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