1

我使用 Google Play 游戏服务中的 GameHelper 类遇到以下异常。

日志跟踪:

java.lang.IllegalStateException: GameHelper: operation attempted at incorrect state.
Operation: succeedSignIn. State: DISCONNECTED. Expected states: CONNECTING CONNECTED.
at ru.funapps.games.frutcoctail.GameHelper.assertState(GameHelper.java:185)
at ru.funapps.games.frutcoctail.GameHelper.succeedSignIn(GameHelper.java:781)
at ru.funapps.games.frutcoctail.GameHelper.connectNextClient(GameHelper.java:678)
at ru.funapps.games.frutcoctail.GameHelper.onConnected(GameHelper.java:777)
at com.google.android.gms.internal.u.v(Unknown Source)
at com.google.android.gms.internal.bp.v(Unknown Source)
at com.google.android.gms.internal.u$f.a(Unknown Source)
at com.google.android.gms.internal.u$f.a(Unknown Source)
at com.google.android.gms.internal.u$b.A(Unknown Source)
at com.google.android.gms.internal.u$a.handleMessage(Unknown Source)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4511)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:976)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:743)
at dalvik.system.NativeStart.main(Native Method)
4

1 回答 1

2

您是否尝试过更新到最新版本的 GameHelper?

https://github.com/playgameservices/android-samples

于 2013-08-26T10:28:16.697 回答