I am still trying to run the Button Clicker, set up the app on 2 emulators. Both succesfully sign in in G+ with different accounts (one extra tester account set up in developer console). Ok reconstruction:
1. Show friends works (shows the other account)
2. Invite works, sent and received
3. On accept invite the inviter receives that invite was accepted
Then when both friends join the room (some P2P connection is set up behind the screens?). And THEN apparently some handler is missing and both apps crash GoogleServices, see log below:
When I set the app up in the developer console, I flagged "Realtime" could that be the cause? Anyway see the log below: can you give me a clue?
(I see onP2PConnected is a method in Google documentation, could it be missing in the lib?)
Many thanks for ANY help!
Kind regards,
Bas Hamstra
Room is created
-1
2:size with (ArrayList) [b4a.game.helper.ParticipantWrapper@417584b8, b4a.game.helper.ParticipantWrapper@416f0de8]
Got past suspect line
** Activity (abuttonclicker) Pause, UserClosed = false **
java.lang.AbstractMethodError: abstract method not implemented
at b4a.game.helper.RoomConfigWrapper.onP2PConnected(RoomConfigWrapper.java)
at com.google.android.gms.internal.au$w.a(Unknown Source)
at com.google.android.gms.internal.au$w.a(Unknown Source)
at com.google.android.gms.internal.k$b.D(Unknown Source)
at com.google.android.gms.internal.k$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:5103)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)
** Activity (abuttonclicker) Create, isFirst = true **
1. Show friends works (shows the other account)
2. Invite works, sent and received
3. On accept invite the inviter receives that invite was accepted
Then when both friends join the room (some P2P connection is set up behind the screens?). And THEN apparently some handler is missing and both apps crash GoogleServices, see log below:
When I set the app up in the developer console, I flagged "Realtime" could that be the cause? Anyway see the log below: can you give me a clue?
(I see onP2PConnected is a method in Google documentation, could it be missing in the lib?)
Many thanks for ANY help!
Kind regards,
Bas Hamstra
Room is created
-1
2:size with (ArrayList) [b4a.game.helper.ParticipantWrapper@417584b8, b4a.game.helper.ParticipantWrapper@416f0de8]
Got past suspect line
** Activity (abuttonclicker) Pause, UserClosed = false **
java.lang.AbstractMethodError: abstract method not implemented
at b4a.game.helper.RoomConfigWrapper.onP2PConnected(RoomConfigWrapper.java)
at com.google.android.gms.internal.au$w.a(Unknown Source)
at com.google.android.gms.internal.au$w.a(Unknown Source)
at com.google.android.gms.internal.k$b.D(Unknown Source)
at com.google.android.gms.internal.k$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:5103)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)
** Activity (abuttonclicker) Create, isFirst = true **