SDKBox Play. saveGameData error

SDKBox Play. saveGameData error
0.0 0


Cocos Creator 1.6.1

I have an application error: Unfortunately, testapp has stopped, if I use cloud save without internet access. It works fine with internet access.

I followed link,
and edited sdkbox_config.json
"clound_save": false, -> "clound_save": true,
and enabled Saved Games on Google Play Console.

sdkbox.PluginSdkboxPlay.saveGameData("name", 'test'); 


could u plz post the error logcat ?


The error logcat:

10-09 10:11:32.276 23524-23546/? E/dalvikvm: Could not find class '', referenced from method
10-09 10:11:32.361 23524-23542/? E/cocos2d-x: cocos2d: warning, Director::setProjection() failed because size is 0
10-09 10:12:10.950 23524-23809/com.fcazd.gpt E/AndroidRuntime: FATAL EXCEPTION: Thread-51636
                                                               java.lang.IllegalStateException: GoogleApiClient is not connected yet.
                                                                   at Source)
                                                                   at Source)
                                                                   at Source)
                                                                   at com.sdkbox.plugin.SdkboxGPGSavedGames.saveGameDataReal(
                                                                   at com.sdkbox.plugin.SdkboxGPGSavedGames.access$100(
                                                                   at com.sdkbox.plugin.SdkboxGPGSavedGames$

if (sdkbox.PluginSdkboxPlay.isSignedIn()) {
    sdkbox.PluginSdkboxPlay.saveGameData("name", 'test'); 

UP: 2017-10-10
I add a test case with here without any crash.

try with creator and report later.


here is a hotfix jar (51.3 KB), thanks for your report.


It works correct now.

Will this fix be added to a next version sdkbox?


yes, we’ll make a small release for review


just release a hotfix release for SDKBoxPlay & Review plugins.
U can update with command:

sdkbox update -s main --nohelp