Sdkboxplay Sign in failed on android, error code: 8

Sdkboxplay Sign in failed on android, error code: 8


I’ve recently added SDKboxPlay to my cocos2d-x project and when i try to sign in to google play games on an android device i get this error in the logcat

W/SdkboxGPGAuthentication: sign in failed:8 null

Previously i had this problem:

W/SdkboxGPGAuthentication: sign in failed:4 null

Which I resolved by adding another app to my google play game console, with the same package name, but with my upload certificate instead of my signing certificate, so that i could test google play games in a version that don’t come from the playstore.
After that I’ve seen the account selection UI for the first time, and once I’ve selected my account (enabled for testing) I got that waring in the console (errorCode: 8, that means INTERNAL_ERROR).

I’ve imported sdkbox play using the sdkbox cli, so it should be alright!

Here are some data:

Platform: linux
Cocos2d-x version: 3.17
build mode: release

  _______ ______  _     _ ______   _____  _     _
  |______ |     \ |____/  |_____] |     |  \___/ 
  ______| |_____/ |    \_ |_____] |_____| _/   \_
 Copyright (c) 2016-2018 SDKBOX Inc. v1.0.2.8
 installed packages:
     v2.4.3.3 sdkboxplay
     v2.4.3.3 googleplayservices

If you need somthing else (,, ecc) let me know.


Created a new cocos2d-x 3.17 project and imported sdkboxplay, nothing else.
Still it does not work

W/SdkboxGPGAuthentication: sign in failed:8 null

My dependencied from build.gradle:

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation project(':libcocos2dx')
    implementation ''
    implementation ''
    implementation ''
    implementation ''


<?xml version='1.0' encoding='UTF-8'?>
<manifest xmlns:android="" package="com.drenlab.xxxxx" android:installLocation="auto">
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-feature android:glEsVersion="0x00020000" />
    <application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name">
        <meta-data android:name="" android:value="MyGame" />
        <activity android:configChanges="orientation|keyboardHidden|screenSize" android:label="@string/app_name" android:name="org.cocos2dx.cpp.AppActivity" android:screenOrientation="landscape" android:theme="@android:style/Theme.NoTitleBar.Fullscreen">
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
        <meta-data android:name="" android:value="@integer/google_play_services_version" />
        <meta-data android:name="" android:value="@string/google_app_id" />
        <activity android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize" android:name="" android:theme="@android:style/Theme.Translucent" />
            android:excludeFromRecents="true" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />


<?xml version='1.0' encoding='UTF-8'?>
    <string name="app_name">prova gpg</string>
    <string name="google_app_id">414872731xxx</string>


plz do some check with:


I integrate the SDKBoxPlay plugin step by step and let you know the result.


I’ve followed the checklist step by step, but it was all right.
I do not find any useful information in the troubleshoot for my problem.
I’ve added my manifest to the main post


Has the Sign-in UI displayed?
Have you upload the release-build APK to google console and make Alpha/Beta test AFTER added SDKBoxPlay?


this is play console Create new poject savegame issue.
StateManager.cpp -> remove .EnableSnapshots()
and then sign success


this is new Project savegame issue.
remove .EnableSnapshots()


in play console
this is create new poject savegame isuue.
StateManger.cpp —> remove .EnableSnapshots()
and then sign in success.


I’ll try this!


I’m sorry but i do not understand, can you explain it better? Thanks


The sign in UI does not display, but my game stops and becomes darker while a loading circle appears (i guess that’s part of the sign in ui).
I uploaded the release-build to google play in alpha test AFTER SDKBoxPlay integration, but the error persists.