谷歌排行榜

时间:2017-05-26 12:42:01

标签: android leaderboard

我正在使用Google Leader主板开发游戏,但Google提供的github链接是https://github.com/playgameservices/android-basic-samples。有人可以解释一下吗?

因为github解释说我需要将BaseGameUtils导入到我的项目中并将MainActivity扩展AppCompatActivity替换为MainActivity扩展BaseGameUtils。更改后,它实现了2个方法afterSign和signinFailed,我不明白该怎么做。然后,应用程序会自动运行和关闭。

{05-26 15:06:37.809 13629-13629 / com.lisbonlabs.pokoto E / AndroidRuntime:FATAL EXCEPTION:main                                                                        过程:com.lisbonlabs.pokoto,PID:13629                                                                        java.lang.IllegalStateException:发生了致命的开发人员错误。查看日志以获取更多信息。                                                                            在com.google.android.gms.common.internal.zzf $ zza.zzb(未知来源)                                                                            在com.google.android.gms.common.internal.zzf $ zza.zzu(未知来源)                                                                            在com.google.android.gms.common.internal.zzf $ zze.zzxH(未知来源)                                                                            在com.google.android.gms.common.internal.zzf $ zzd.handleMessage(未知来源)                                                                            在android.os.Handler.dispatchMessage(Handler.java:102)                                                                            在android.os.Looper.loop(Looper.java:152)                                                                            在android.app.ActivityThread.main(ActivityThread.java:5497)                                                                            at java.lang.reflect.Method.invoke(Native Method)                                                                            在com.android.internal.os.ZygoteInit $ MethodAndArgsCaller.run(ZygoteInit.java:726)                                                                            在com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)}

0 个答案:

没有答案