GPGS: error on device with Android 2.3.6

Hi,

My app works just fine on devices with Android 4, but today I decided to take a step back and test it with ancient 2.3.6…

I was testing using official Samsung rom on Galaxy S Plus (I9001), and I get a sign-in error (There was an issue with sign-in).

Here’s the output from logcat:

W/dalvikvm( 2061): VFY: unable to resolve static field 3517 (common\_google\_play\_services\_install\_title) in Lcom/google/android/gms/R$string; W/dalvikvm( 2061): VFY: unable to resolve static field 3513 (common\_google\_play\_services\_enable\_title) in Lcom/google/android/gms/R$string; W/dalvikvm( 2061): VFY: unable to resolve static field 3523 (common\_google\_play\_services\_update\_title) in Lcom/google/android/gms/R$string; W/dalvikvm( 2061): VFY: unable to resolve static field 3520 (common\_google\_play\_services\_unsupported\_title) in Lcom/google/android/gms/R$string; W/dalvikvm( 2061): VFY: unable to resolve static field 3514 (common\_google\_play\_services\_install\_button) in Lcom/google/android/gms/R$string; W/dalvikvm( 2061): VFY: unable to resolve static field 3511 (common\_google\_play\_services\_enable\_button) in Lcom/google/android/gms/R$string; W/dalvikvm( 2061): VFY: unable to resolve static field 3521 (common\_google\_play\_services\_update\_button) in Lcom/google/android/gms/R$string; W/dalvikvm( 2061): VFY: unable to resolve static field 3518 (common\_google\_play\_services\_unknown\_issue) in Lcom/google/android/gms/R$string; W/dalvikvm( 2061): VFY: unable to resolve instance field 223 W/dalvikvm( 2061): VFY: unable to resolve static field 3518 (common\_google\_play\_services\_unknown\_issue) in Lcom/google/android/gms/R$string; E/GooglePlayServicesUtil( 2061): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included. I/Corona ( 2061): -------------- I/Corona ( 2061): PRINTING TABLE table: 0x33a9c0 [=?:0] I/Corona ( 2061): type : init I/Corona ( 2061): name : init I/Corona ( 2061): data : true I/Corona ( 2061): FINISHED PRINTING TABLE I/Corona ( 2061): -------------- D/BaseGameActivity( 2061): onCreate: creating GamesClient W/dalvikvm( 2061): Link of class 'Lcom/google/android/gms/internal/bv$b;' failed E/dalvikvm( 2061): Could not find class 'com.google.android.gms.internal.bv$b', referenced from method com.google.android.gms.internal.bv.a W/dalvikvm( 2061): VFY: unable to resolve new-instance 1538 (Lcom/google/android/gms/internal/bv$b;) in Lcom/google/android/gms/internal/bv; E/libEGL ( 2061): eglCreateWindowSurface format=1 E/GooglePlayServicesUtil( 2061): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included. D/BaseGameActivity( 2061): isGooglePlayServicesAvailable returned 0 D/BaseGameActivity( 2061): beginUserInitiatedSignIn: starting new sign-in flow. D/BaseGameActivity( 2061): Connecting GamesClient. E/GooglePlayServicesUtil( 2061): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included. D/BaseGameActivity( 2061): onConnectionFailed: result 4 D/BaseGameActivity( 2061): onConnectionFailed: since user initiated sign-in, trying to resolve problem. D/BaseGameActivity( 2061): resolveConnectionResult: trying to resolve result: ConnectionResult{statusCode=SIGN\_IN\_REQUIRED, resolution=PendingIntent{40545358: android.os.BinderProxy@4065ca10}} D/BaseGameActivity( 2061): result has resolution. Starting it. E/SensorManager( 2061): unregisterListener:: all sensors, listener = android.view.OrientationEventListener$SensorEventListenerImpl@40580ea8 W/InputManagerService( 179): Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@40928888 (uid=10092 pid=2061) D/BaseGameActivity( 2061): onActivityResult, req 1 response 10004 E/GooglePlayServicesUtil( 2061): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included. D/BaseGameActivity( 2061): isGooglePlayServicesAvailable returned 0 D/BaseGameActivity( 2061): beginUserInitiatedSignIn: continuing pending sign-in flow. D/BaseGameActivity( 2061): resolveConnectionResult: trying to resolve result: ConnectionResult{statusCode=SIGN\_IN\_REQUIRED, resolution=PendingIntent{40545358: android.os.BinderProxy@4065ca10}} D/BaseGameActivity( 2061): result has resolution. Starting it. E/SensorManager( 2061): registerListener :: handle = 1 name= BMA222 Acceleration Sensor delay= 200000 Listener= android.view.OrientationEventListener$SensorEventListenerImpl@40580ea8 E/SensorManager( 2061): reg :: handle = 1 E/SensorManager( 2061): unregisterListener:: all sensors, listener = android.view.OrientationEventListener$SensorEventListenerImpl@40580ea8 D/BaseGameActivity( 2061): onActivityResult, req 1 response 10004 D/BaseGameActivity( 2061): responseCode != RESULT\_OK, so not reconnecting. D/BaseGameActivity( 2061): giveUp: giving up on connection. Status code: 4 D/BaseGameActivity( 2061): ERROR CODE 4: message=There was an issue with sign-in.; details=SIGN\_IN\_REQUIRED I/Corona ( 2061): -------------- I/Corona ( 2061): PRINTING TABLE table: 0x3fa420 [=?:0] I/Corona ( 2061): type : login I/Corona ( 2061): name : login I/Corona ( 2061): isError : true I/Corona ( 2061): FINISHED PRINTING TABLE I/Corona ( 2061): --------------

The last print table was the event my handler function received from gameNetwork.request “login” call.

I will test on another device with some old Android version today, but this does not seem like a device error.

Thanks,

Krystian

Confirmed on a second device with android 2.3

And yet another error on device with 2.3:

java.lang.NullPointerException at CoronaProvider.gameNetwork.google.GameHelper.getErrorDialog(GameHelper.java:413) at CoronaProvider.gameNetwork.google.GameHelper.beginUserInitiatedSignIn(GameHelper.java:374) at CoronaProvider.gameNetwork.google.LuaLoader$3.run(LuaLoader.java:192) at android.os.Handler.handleCallback(Handler.java:587) at android.os.Handler.dispatchMessage(Handler.java:92) at android.os.Looper.loop(Looper.java:130) at android.app.ActivityThread.main(ActivityThread.java:3687) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:507) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:625) at dalvik.system.NativeStart.main(Native Method)

This happened on a wiped device, after installation of the game from Play Store [alpha testing].

I’ve tried to sign in using a google play account, with google+ enabled. It didn’t event show the popup with permission settings. Application simply crashed.

Confirmed on a second device with android 2.3

And yet another error on device with 2.3:

java.lang.NullPointerException at CoronaProvider.gameNetwork.google.GameHelper.getErrorDialog(GameHelper.java:413) at CoronaProvider.gameNetwork.google.GameHelper.beginUserInitiatedSignIn(GameHelper.java:374) at CoronaProvider.gameNetwork.google.LuaLoader$3.run(LuaLoader.java:192) at android.os.Handler.handleCallback(Handler.java:587) at android.os.Handler.dispatchMessage(Handler.java:92) at android.os.Looper.loop(Looper.java:130) at android.app.ActivityThread.main(ActivityThread.java:3687) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:507) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:625) at dalvik.system.NativeStart.main(Native Method)

This happened on a wiped device, after installation of the game from Play Store [alpha testing].

I’ve tried to sign in using a google play account, with google+ enabled. It didn’t event show the popup with permission settings. Application simply crashed.