I am now encountering the following error when logging into GPG with SDKBOXPlay.
java.lang.IllegalStateException:
at com.google.android.gms.common.internal.zze.zzw (Unknown Source: 60)
at com.google.android.gms.common.internal.zzi.zzamc (Unknown Source: 51)
at com.google.android.gms.common.internal.zzh.handleMessage (Unknown Source: 270)
at android.os.Handler.dispatchMessage (Handler.java:105)
When you log in to GPG in an app, the above logs are left and the app crashes.
APP ID entered normally.
It works fine, but it happens suddenly on some devices.
And, once it occurs, it continues to occur. (crash)
When tested with the GPG sample code provided by Google,
On the device where the problem occurred, a crash occurs only when I connect my APPID
(There is no problem with other devices.)
However, in the Google sample, the message âException 4â is printed immediately before the crash.
Could you add exception handling or error handling for this?
There is no Logcat record at the time.
(Now I can not reproduce the crash on my device, just Android Vital has recorded the userâs device crashes and is still being recorded.)
Full Crash Log left in Android Vital is as follows.
java.lang.IllegalStateException:
at com.google.android.gms.common.internal.zze.zzw (Unknown Source:60)
at com.google.android.gms.common.internal.zzi.zzamc (Unknown Source:51)
at com.google.android.gms.common.internal.zzh.handleMessage (Unknown Source:270)
at android.os.Handler.dispatchMessage (Handler.java:105)
at android.os.Looper.loop (Looper.java:164)
at android.app.ActivityThread.main (ActivityThread.java:6938)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:327)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1374)
.
.
sdkbox :: PluginSdkboxPlay :: signin ()
When this function is called, the app crashes.
When I checked the Data folder with Android Studio,
The Login value was stored as true.
And then it crashes.
I built the APPID and PackageID of the sample by replacing the errored APPID and PackageID.
I overwrote the modified sample on the device where the error log occurred.
This sample was either crashed or output exception 8.
When I put this sample on the device where the error did not occur, it worked.
When I changed the APPID and PackageID to another app, there was no error.
This error did not occur when you deleted the app from your device.
Now I can not reproduce this error.
(When an error occurred, I accidentally deleted the app.)
However, Android Vital has logged users.
Also, an error does not occur to all users. (About 5 ~ 10%)
We have seen Exception (8) occur, but it happens after calling sdkboxplayâs signin function. I cannot handle that exception in my code.