[SOLVED] Unable to connect to Google Play Services

Hi ,
I had integrated SDKBox Play plugin for achievements and got it working for IOS. However for android I am not able to connect to Google Play Services. The connecting to Google Play Games pop-up appears but connection fails.

So far I tried doing the following things.

  1. Enabled cloud saves.
  2. double checked SHA-1 keys
  3. double checked application id

When I check the log, I get error message saying

‘Application 11111111111 is not associated with package com.abctech.game. Check the application ID in your manifest.’ (I am using dummy application id and package name here for representation purposes).

I should mention that the package name that is mentioned in my manifest file is not same as the application id mentioned in gradle file. As per the link https://developer.android.com/studio/build/application-id.html , it should not be an issue. But could it be ??

I did find a similar post on

but solutions seem pretty vague.

Edit : I am attaching the log for reference.

03-13 13:11:21.062 1797-2507/? I/ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.companyPackage.gameName/org.cocos2dx.cpp.AppActivity (has extras)} from uid 10043 on display 0
03-13 13:11:21.117 8475-8549/? V/ClClient: RECV(33)  +0.7s	KeepAliveResponse_5{hasEstablishedSession=true}
03-13 13:11:21.119 1797-3162/? I/ActivityManager: Start proc 10015:com.companyPackage.gameName/u0a166 for activity com.companyPackage.gameName/org.cocos2dx.cpp.AppActivity
03-13 13:11:21.184 1797-2515/? I/ActivityManager: Config changes=480 {1.0 ?mcc?mnc en_US ldltr sw360dp w598dp h336dp 480dpi nrml land finger -keyb/v/h -nav/h s.7?spn}
03-13 13:11:21.185 1797-2400/? I/InputReader: Reconfiguring input devices.  changes=0x00000004
03-13 13:11:21.186 1797-2400/? I/InputReader: Device reconfigured: id=3, name='atmel_mxt_ts', size 1080x1920, orientation 1, mode 1, display id 0
03-13 13:11:21.205 351-351/? E/SELinux: avc:  denied  { find } for service=display scontext=u:r:location_app:s0 tcontext=u:object_r:display_service:s0 tclass=service_manager
03-13 13:11:21.209 9619-9619/? D/MusicLifecycle: com.google.android.music.store.MusicContentProvider generated event: initializing
03-13 13:11:21.221 2994-2994/? I/EmojiSearchExtension: onDestroy()
03-13 13:11:21.233 3171-3645/? E/Surface: getSlotFromBufferLocked: unknown buffer: 0xb9c7efb0
03-13 13:11:21.297 2994-2994/? I/EmojiSearchExtension: onDeactivate()
03-13 13:11:21.299 9619-9665/? W/SharedBatteryStatusUpdater: Failed to publish battery status: Status{statusCode=TIMEOUT, resolution=null}
03-13 13:11:21.305 9619-9646/? W/WearSignatureVerifier: No package com.google.android.wearable.app.cn
03-13 13:11:21.322 9619-9646/? W/WearSignatureVerifier: No package com.google.android.wearable.app.cn
03-13 13:11:21.323 9619-9646/? W/WearSignatureVerifier: No package com.google.android.wearable.app.cn
03-13 13:11:21.323 9619-9646/? W/WearSignatureVerifier: No package com.google.android.wearable.app.cn
03-13 13:11:21.332 3432-3432/? I/WearableService: Wearable Services not starting - Wear is not available on this device.
03-13 13:11:21.344 9619-9619/? D/MusicLifecycle: com.google.android.music.api.MusicPublicContentProvider generated event: initializing
03-13 13:11:21.347 3432-6481/? W/WearableService: onGetService - Wear is not available on this device.
03-13 13:11:21.348 9619-9619/? W/WearSignatureVerifier: No package com.google.android.wearable.app.cn
03-13 13:11:21.349 9619-9665/? E/DefaultPeerProvider: Failed to connect to GoogleApiClient: error code=16
03-13 13:11:21.419 2994-2994/? I/GoogleInputMethod: onStartInput() : Dummy InputConnection bound
03-13 13:11:21.427 1797-2394/? D/MotoSensors: ALS 43
03-13 13:11:21.434 10009-10009/? I/dex2oat: Large app, accepted running with swap.
03-13 13:11:21.467 1797-2398/? V/AlarmManager: sending alarm {2fb0b4e type 3 *alarm*:com.google.android.gms/.lockbox.LockboxAlarmReceiver}
03-13 13:11:21.470 1797-1797/? V/AlarmManager: done {2fb0b4e, *alarm*:com.google.android.gms/.lockbox.LockboxAlarmReceiver} [3ms]
03-13 13:11:21.480 1797-3146/? I/AccountManagerService: getTypesVisibleToCaller: isPermitted? true
03-13 13:11:21.504 2994-3511/? E/AndroidIME: com.google.android.apps.inputmethod.libs.framework.core.KeyboardType: name should not be empty
03-13 13:11:21.649 10015-10015/? D/JniHelper: JniHelper::setJavaVM(0xb8957738), pthread_self() = -1225188556
03-13 13:11:21.649 10015-10015/? D/main: cocos_android_app_init
03-13 13:11:21.656 10015-10015/? I/SDKBOX_CORE: Sdkbox Droid starting.
03-13 13:11:21.656 10015-10015/? I/SDKBOX_CORE: Sdkbox got VM.
03-13 13:11:21.656 10015-10015/? I/SDKBOX_CORE: Sdkbox jni initialized.
03-13 13:11:21.659 10015-10015/? D/SDKBOX_CORE: Loaded 0 tracking info _elements.
03-13 13:11:21.662 10015-10015/? D/Cocos2dxHelper: isSupportLowLatency:false
03-13 13:11:21.666 10015-10015/? D/Cocos2dxHelper: sampleRate: 48000, framesPerBuffer: 1920
03-13 13:11:21.666 10015-10015/? D/Java_org_cocos2dx_lib_Cocos2dxHelper.cpp: nativeSetAudioDeviceInfo: sampleRate: 48000, bufferSizeInFrames: 1920
03-13 13:11:21.708 1797-3146/? W/ActivityManager: Unable to start service Intent { act=com.enhance.gameservice.IGameTuningService pkg=com.enhance.gameservice } U=0: not found
03-13 13:11:21.732 10015-10015/? D/Cocos2dxActivity: model=XT1095
03-13 13:11:21.732 10015-10015/? D/Cocos2dxActivity: product=victara_tmo
03-13 13:11:21.732 10015-10015/? D/Cocos2dxActivity: isEmulator=false
03-13 13:11:21.735 10015-10015/? D/Cocos2dxActivity: onResume()
03-13 13:11:21.745 10015-10042/? D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
03-13 13:11:21.808 10015-10042/? I/Adreno-EGL: <qeglDrvAPI_eglInitialize:379>: EGL 1.4 QUALCOMM build: Nondeterministic_AU_msm8974_LA.BF.1.1.3_RB1__release_AU (I3193f6e94a)
                                               OpenGL ES Shader Compiler Version: E031.28.00.02
                                               Build Date: 10/09/15 Fri
                                               Local Branch: mybranch15039904
                                               Remote Branch: quic/LA.BF.1.1.3_rb1.2
                                               Local Patches: NONE
                                               Reconstruct Branch: NOTHING
03-13 13:11:21.808 10015-10042/? E/linker: readlink('/proc/self/fd/26') failed: Permission denied [fd=26]
03-13 13:11:21.808 10015-10042/? E/linker: warning: unable to get realpath for the library "/vendor/lib/egl/eglsubAndroid.so". Will use given name.
03-13 13:11:21.809 10015-10042/? I/OpenGLRenderer: Initialized EGL, version 1.4
03-13 13:11:21.849 10015-10041/? D/cocos2d-x debug info: {
                                                         	gl.supports_OES_packed_depth_stencil: true
                                                         	gl.supports_vertex_array_object: true
                                                         	gl.supports_BGRA8888: false
                                                         	gl.supports_ATITC: true
                                                         	gl.supports_S3TC: false
                                                         	cocos2d.x.version: cocos2d-x-3.14.1
                                                         	gl.supports_discard_framebuffer: true
                                                         	cocos2d.x.compiled_with_profiler: false
                                                         	gl.supports_PVRTC: false
                                                         	cocos2d.x.build_type: DEBUG
                                                         	gl.renderer: Adreno (TM) 330
                                                         	gl.supports_OES_depth24: true
                                                         	gl.supports_ETC1: true
                                                         	gl.supports_OES_map_buffer: false
                                                         	cocos2d.x.compiled_with_gl_state_cache: true
                                                         	gl.version: OpenGL ES 3.0 V@136.0 AU@ (GIT@I3193f6e94a)
                                                         	gl.supports_NPOT: true
                                                         	gl.max_texture_units: 32
                                                         	gl.vendor: Qualcomm
                                                         	gl.max_texture_size: 4096
                                                         }
03-13 13:11:21.851 10015-10041/? I/SDKBOX: DEFAULTvirtual void sdkbox::GoogleAnalyticsWrapperEnabled::init(const char*):57= INF: Init GoogleAnalytics plugin
03-13 13:11:21.854 10015-10015/? D/Cocos2dxActivity: onWindowFocusChanged() hasFocus=true
03-13 13:11:21.857 10015-10041/? I/SDKBOX_CORE: Initialization request for plugin: 'com/sdkbox/plugin/PluginGoogleAnalytics'
03-13 13:11:21.860 1797-1826/? I/LaunchCheckinHandler: Displayed com.companyPackage.gameName/org.cocos2dx.cpp.AppActivity,cp,ca,757
03-13 13:11:21.860 1797-1826/? I/ActivityManager: Displayed com.companyPackage.gameName/org.cocos2dx.cpp.AppActivity: +757ms
03-13 13:11:21.864 2994-2994/? I/GoogleInputMethod: onStartInput() : Dummy InputConnection bound
03-13 13:11:21.872 10015-10041/? I/GAv4: Google Analytics 11.0.10 is starting up. To enable debug logging on a device run:
                                           adb shell setprop log.tag.GAv4 DEBUG
                                           adb logcat -s GAv4
03-13 13:11:21.875 1797-1826/? I/WindowManager: Screen frozen for +704ms due to Window{76d836 u0 Starting com.companyPackage.gameName}
03-13 13:11:21.888 10015-10041/? D/IPluginGoogleAnalytics: Configure with trackerId: UA-112777727-1
03-13 13:11:21.889 10015-10041/? D/IPluginGoogleAnalytics: Selected tracker: UA-112777727-1
03-13 13:11:21.898 10015-10041/? I/SDKBOX_CORE: Initialization request for plugin: 'com/sdkbox/plugin/SdkboxGPGAuthentication'
03-13 13:11:21.900 3331-3616/? I/PBSessionCacheImpl: Deleted sessionId[5031731070261] from persistence.
03-13 13:11:21.916 10015-10041/? W/PopupManager: You have not specified a View to use as content view for popups. Falling back to the Activity content view. Note that this may not work as expected in multi-screen environments
03-13 13:11:21.922 10015-10041/? I/SDKBOX_CORE: Initialization request for plugin: 'com/sdkbox/plugin/SdkboxGPGLeaderboards'
03-13 13:11:21.929 10015-10041/? I/SDKBOX_CORE: Initialization request for plugin: 'com/sdkbox/plugin/SdkboxGPGAchievements'
03-13 13:11:21.939 10015-10041/? D/SdkboxPlay: set logged in preference true
03-13 13:11:21.972 495-10055/? D/libc: retrying_select2 timeout
03-13 13:11:21.972 495-10055/? D/libc: dns server used:59.185.3.11
03-13 13:11:21.977 3193-6486/? W/GamesServiceBroker: Client connected with SDK 11010000, Services 12218438, and Games 55810038
03-13 13:11:22.008 3193-8656/? W/GamesServiceBroker: Client connected with SDK 12605000, Services 12218438, and Games 55810038
03-13 13:11:22.015 1797-1810/? I/AccountManagerService: getTypesVisibleToCaller: isPermitted? true
03-13 13:11:22.016 1797-3146/? I/AccountManagerService: getTypesVisibleToCaller: isPermitted? true
03-13 13:11:22.017 1797-3036/? I/AccountManagerService: getTypesVisibleToCaller: isPermitted? true
03-13 13:11:22.018 3193-8656/? W/GamesServiceBroker: Client connected with SDK 12605000, Services 12218438, and Games 55810038
03-13 13:11:22.018 1797-3000/? I/AccountManagerService: getTypesVisibleToCaller: isPermitted? true
03-13 13:11:22.021 1797-2560/? I/AccountManagerService: getTypesVisibleToCaller: isPermitted? true
03-13 13:11:22.022 1797-1810/? I/AccountManagerService: getTypesVisibleToCaller: isPermitted? true
03-13 13:11:22.023 3193-8654/? W/GamesServiceBroker: Client connected with SDK 12605000, Services 12218438, and Games 55810038
03-13 13:11:22.033 3193-8654/? W/GamesServiceBroker: Client connected with SDK 12605000, Services 12218438, and Games 55810038
03-13 13:11:22.035 3193-8656/? W/GamesServiceBroker: Client connected with SDK 12605000, Services 12218438, and Games 55810038
03-13 13:11:22.063 3193-8656/? W/GamesServiceBroker: Client connected with SDK 12605000, Services 12218438, and Games 55810038
03-13 13:11:22.149 10015-10041/? D/cocos2d-x debug info: create rendererRecreatedListener for GLProgramState
03-13 13:11:22.170 3193-4753/? W/Conscrypt: Could not set socket write timeout: java.lang.reflect.InvocationTargetException
03-13 13:11:22.182 3193-4753/? W/Conscrypt:     at java.lang.reflect.Method.invoke(Native Method)
03-13 13:11:22.182 3193-4753/? W/Conscrypt:     at com.google.android.gms.org.conscrypt.Platform.setSocketWriteTimeout(com.google.android.gms@12218438@12.2.18 (438-186640880):13)
03-13 13:11:22.182 3193-4753/? W/Conscrypt: Caused by: android.system.ErrnoException: setsockopt failed: EBADF (Bad file descriptor)
03-13 13:11:22.183 3193-4753/? W/Conscrypt:     at libcore.io.Posix.setsockoptTimeval(Native Method)
03-13 13:11:22.183 3193-4753/? W/Conscrypt:     at libcore.io.ForwardingOs.setsockoptTimeval(ForwardingOs.java:156)
03-13 13:11:22.320 10015-10041/? D/cocos2d-x debug info: create rendererRecreatedListener for GLProgramState
03-13 13:11:22.419 3193-4753/? W/Conscrypt: Could not set socket write timeout: java.lang.reflect.InvocationTargetException
03-13 13:11:22.419 3193-4753/? W/Conscrypt:     at java.lang.reflect.Method.invoke(Native Method)
03-13 13:11:22.419 3193-4753/? W/Conscrypt:     at com.google.android.gms.org.conscrypt.Platform.setSocketWriteTimeout(com.google.android.gms@12218438@12.2.18 (438-186640880):13)
03-13 13:11:22.419 3193-4753/? W/Conscrypt: Caused by: android.system.ErrnoException: setsockopt failed: EBADF (Bad file descriptor)
03-13 13:11:22.420 3193-4753/? W/Conscrypt:     at libcore.io.Posix.setsockoptTimeval(Native Method)
03-13 13:11:22.420 3193-4753/? W/Conscrypt:     at libcore.io.ForwardingOs.setsockoptTimeval(ForwardingOs.java:156)
03-13 13:11:22.567 10015-10041/? D/cocos2d-x debug info: create rendererRecreatedListener for GLProgramState
03-13 13:11:22.582 10015-10041/? D/cocos2d: android SDK version:23
03-13 13:11:22.776 3193-10062/? E/GameAgent: Unable to retrieve application 10637373171 from network
03-13 13:11:22.776 3193-10062/? E/GameAgent: Application 10637373171 is not associated with package com.companyPackage.gameName. Check the application ID in your manifest.
03-13 13:11:22.782 10015-10015/? I/SdkboxPlay: Error connecting to play services, reason: 'SIGN_IN_REQUIRED(4)'.
03-13 13:11:22.786 3193-8654/? W/GamesServiceBroker: Client connected with SDK 12605000, Services 12218438, and Games 55810038
03-13 13:11:22.805 1797-3149/? I/ActivityManager: START u0 {act=com.google.android.gms.games.SIGN_IN flg=0x4000000 pkg=com.google.android.play.games cmp=com.google.android.play.games/com.google.android.gms.games.ui.signin.SignInActivity (has extras)} from uid 10017 on display 0
03-13 13:11:22.856 10015-10015/? D/Cocos2dxActivity: onPause()
03-13 13:11:22.864 10015-10041/? D/cocos2d-x debug info: Paused called
03-13 13:11:22.869 1797-3162/? I/ActivityManager: Start proc 10073:com.google.android.play.games.ui/u0a98 for activity com.google.android.play.games/com.google.android.gms.games.ui.signin.SignInActivity
03-13 13:11:22.870 10015-10015/? D/Cocos2dxActivity: onWindowFocusChanged() hasFocus=false
03-13 13:11:23.033 10073-10073/? I/PhFlagCommitter PII_LOG: Committing experiment config for user: octanetest123@gmail.com
03-13 13:11:23.096 10073-10089/? D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
03-13 13:11:23.115 10073-10073/? I/SignInActivity: Transition from -1 to 0
03-13 13:11:23.120 1797-3036/? I/AccountManagerService: getTypesVisibleToCaller: isPermitted? true
03-13 13:11:23.136 10073-10089/? I/Adreno-EGL: <qeglDrvAPI_eglInitialize:379>: EGL 1.4 QUALCOMM build: Nondeterministic_AU_msm8974_LA.BF.1.1.3_RB1__release_AU (I3193f6e94a)
                                               OpenGL ES Shader Compiler Version: E031.28.00.02
                                               Build Date: 10/09/15 Fri
                                               Local Branch: mybranch15039904
                                               Remote Branch: quic/LA.BF.1.1.3_rb1.2
                                               Local Patches: NONE
                                               Reconstruct Branch: NOTHING
03-13 13:11:23.136 10073-10089/? E/linker: readlink('/proc/self/fd/28') failed: Permission denied [fd=28]
03-13 13:11:23.136 10073-10089/? E/linker: warning: unable to get realpath for the library "/vendor/lib/egl/eglsubAndroid.so". Will use given name.
03-13 13:11:23.137 10073-10089/? I/OpenGLRenderer: Initialized EGL, version 1.4
03-13 13:11:23.253 2994-2994/? I/GoogleInputMethod: onFinishInput() : Dummy InputConnection bound
03-13 13:11:23.253 2994-2994/? I/GoogleInputMethod: onStartInput() : Dummy InputConnection bound
03-13 13:11:23.300 352-352/? I/SFPerfTracer:      triggers: (rate: 7:356) (compose: 0:1) (post: 0:2) (render: 0:23) (0:3596 frames) (1:4276)
03-13 13:11:23.300 352-352/? D/SFPerfTracer:        layers: (2:19) (FocusedStackFrame (0xb7fe37a8): 0:43)* (StatusBar (0xb803d458): 0:2691)* (com.android.systemui.ImageWallpaper (0xb809ed78): 0:143)* (DimLayer (0xb8040c20): 0:51)* (DimLayer (0xb8063050): 0:2)* (NavigationBar (0xb80adc18): 1:119) (com.google.android.googlequicksearchbox/com.google.android.launcher.GEL (0xb80853c8): 0:43)- (Starting com.companyPackage.gameName (0xb8061698): 0:14)- (ScreenshotSurface (0xb80805b8): 0:26)- (com.companyPackage.gameName/org.cocos2dx.cpp.AppActivity (0xb80826b0): 1:29)* (SurfaceView (0xb8083978): 0:42) (BlackSurface (0xb8084c40): 0:26)- (BlackSurface (0xb8047468): 0:26)- (BlackSurface (0xb8049a28): 0:26)- (BlackSurface (0xb804cde0): 0:26)- (com.google.android.play.games/com.google.android.gms.games.ui.signin.SignInActivity (0xb804e1b0): 1:9)* ( (0xb804cc20): 1:1)* 
03-13 13:11:23.305 1797-1809/? I/AccountManagerService: getTypesVisibleToCaller: isPermitted? true
03-13 13:11:23.306 2994-2994/? I/GoogleInputMethod: onFinishInput() : Dummy InputConnection bound
03-13 13:11:23.306 10073-10073/? W/InputMethodManager: Ignoring onBind: cur seq=19, given seq=18
03-13 13:11:23.306 2994-2994/? I/GoogleInputMethod: onStartInput() : Dummy InputConnection bound
03-13 13:11:23.306 10073-10073/? I/PhFlagCommitter PII_LOG: Successfully committed experiment flags for user: octanetest123@gmail.com
03-13 13:11:23.334 1797-1826/? I/LaunchCheckinHandler: Displayed com.google.android.play.games/com.google.android.gms.games.ui.signin.SignInActivity,wp,ca,477
03-13 13:11:23.334 1797-1826/? I/ActivityManager: Displayed com.google.android.play.games/com.google.android.gms.games.ui.signin.SignInActivity: +477ms
03-13 13:11:23.343 3193-6486/? W/GamesServiceBroker: Client connected with SDK 12605000, Services 12218438, and Games 55810038
03-13 13:11:23.554 508-668/? I/ThermalEngine: Sensor:batt_therm:36600 mC
03-13 13:11:23.583 508-669/? I/ThermalEngine: Sensor:chg_therm:35000 mC
03-13 13:11:23.879 1797-1826/? I/art: Starting a blocking GC Explicit
03-13 13:11:23.986 1797-1826/? I/art: Explicit concurrent mark sweep GC freed 205251(11MB) AllocSpace objects, 3(4MB) LOS objects, 33% free, 29MB/44MB, paused 1.004ms total 106.498ms
03-13 13:11:26.151 3331-7534/? I/EventLogSendingHelper: Sending log events.
03-13 13:11:26.353 3432-3432/? I/WearableService: Wearable Services stopping
03-13 13:11:26.824 10073-10073/? E/ViewRootImpl: Attempting to destroy the window while drawing!
                                                   window=android.view.ViewRootImpl@c2a701d, title=
03-13 13:11:26.832 10073-10089/? E/Surface: getSlotFromBufferLocked: unknown buffer: 0xb9980d10
03-13 13:11:26.845 10073-10073/? I/SignInActivity: Transition from 0 to 1
03-13 13:11:26.849 1797-3165/? I/AccountManagerService: getTypesVisibleToCaller: isPermitted? true
03-13 13:11:26.851 1797-1810/? I/AccountManagerService: getTypesVisibleToCaller: isPermitted? true
03-13 13:11:26.852 1797-3036/? I/AccountManagerService: getTypesVisibleToCaller: isPermitted? true
03-13 13:11:26.854 10073-10073/? I/SignInActivity: Transition from 1 to 3
03-13 13:11:26.863 2994-2994/? I/GoogleInputMethod: onFinishInput() : Dummy InputConnection bound
03-13 13:11:26.864 2994-2994/? I/GoogleInputMethod: onStartInput() : Dummy InputConnection bound
03-13 13:11:26.867 1797-3165/? I/AccountManagerService: getTypesVisibleToCaller: isPermitted? true
03-13 13:11:26.868 3193-3222/? W/GamesServiceBroker: Client connected with SDK 12605000, Services 12218438, and Games 55810038
03-13 13:11:26.870 1797-1809/? I/AccountManagerService: getTypesVisibleToCaller: isPermitted? true
03-13 13:11:26.873 3193-3859/? W/GamesServiceBroker: Client connected with SDK 12605000, Services 12218438, and Games 55810038
03-13 13:11:26.876 352-352/? I/SFPerfTracer:      triggers: (rate: 7:356) (compose: 0:1) (post: 0:2) (render: 0:23) (205:3802 frames) (206:4487)
03-13 13:11:26.876 352-352/? D/SFPerfTracer:        layers: (6:12) (FocusedStackFrame (0xb7fe37a8): 0:44)* (StatusBar (0xb803d458): 27:2723) (com.android.systemui.ImageWallpaper (0xb809ed78): 0:143)* (DimLayer (0xb8040c20): 14:66) (DimLayer (0xb8063050): 0:2)* (NavigationBar (0xb80adc18): 8:132) (com.companyPackage.gameName/org.cocos2dx.cpp.AppActivity (0xb80826b0): 0:29)* (SurfaceView (0xb8083978): 0:42) (com.google.android.play.games/com.google.android.gms.games.ui.signin.SignInActivity (0xb804e1b0): 16:28) ( (0xb804cc20): 204:210) 
03-13 13:11:26.894 10073-10073/? I/SignInActivity: Transition from 3 to 4
03-13 13:11:26.931 3193-3877/? W/GamesServiceBroker: Client connected with SDK 12605000, Services 12218438, and Games 55810038
03-13 13:11:27.115 1797-2413/? D/ConnectivityService: updateNetworkScore for NetworkAgentInfo [WIFI () - 100] to 59
03-13 13:11:27.115 1797-2413/? D/ConnectivityService: rematching NetworkAgentInfo [WIFI () - 100]
03-13 13:11:27.415 10073-10073/? I/SignInActivity: Transition from 4 to 5
03-13 13:11:27.432 10073-10073/? I/SignInActivity: Transition from 5 to 6
03-13 13:11:27.451 3193-3859/? W/GamesServiceBroker: Client connected with SDK 12605000, Services 12218438, and Games 55810038
03-13 13:11:27.453 3193-3222/? W/GamesServiceBroker: Client connected with SDK 12605000, Services 12218438, and Games 55810038
03-13 13:11:27.464 10073-10073/? I/SignInActivity: Transition from 6 to 7
03-13 13:11:27.512 3193-3230/? W/GamesServiceBroker: Client connected with SDK 12605000, Services 12218438, and Games 55810038
03-13 13:11:27.559 3193-3201/? E/DataBuffer: Internal data leak within a DataBuffer object detected!  Be sure to explicitly call release() on all DataBuffer extending objects when you are done with them. (internal object: com.google.android.gms.common.data.DataHolder@fd47f67)
03-13 13:11:27.818 3193-10067/? E/GameAgent: Unable to retrieve application 10637373171 from network
03-13 13:11:27.818 3193-10067/? E/GameAgent: Application 10637373171 is not associated with package com.companyPackage.gameName. Check the application ID in your manifest.
03-13 13:11:27.834 10073-10073/? E/LoadGame: Unable to load metadata for game
03-13 13:11:27.835 10073-10073/? I/SignInActivity: Transition from 7 to 11
03-13 13:11:27.835 10073-10073/? W/SignInActivity: onSignInFailed()...
03-13 13:11:27.835 10073-10073/? W/SignInActivity: Sign in failed during 7
03-13 13:11:27.835 10073-10073/? W/SignInActivity: ==> Returning non-OK result: 10002
03-13 13:11:27.853 10015-10015/? D/SdkboxPlay: responseCode=SIGN_IN_FAILED, so giving up.
03-13 13:11:27.854 10015-10015/? D/SdkboxPlay: set logged in preference false
03-13 13:11:27.856 10015-10015/? D/Cocos2dxActivity: onResume()

I do apologize if I have added few unnecessary logs but I wasn’t sure which was important.

Any help will be appreciated.

Thanks.

@yinjimmy hoping that you could help here.

release mode?

It’s possible that you’re testing your game in debug mode, while uploaded a key to google play with release build so the signature did not match…

Hi all,
Thanks for replying. I am uploading a release build itself and downloading from play store using tester’s account. Its not an issue of signature mismatch. I had faced that issue earlier and fixed it.

Error here is regarding application id not associated with the package name, although I cross checked multiple times.

Could it be possible that issue is something else and not related to application id mismatch??

If you can upload your logcat logs, it will help determine the cause.

plz double check your google_app_id https://github.com/sdkbox/sdkbox-sample-sdkboxplay/blob/master/cpp/proj.android/res/values/strings.xml#L4

@nite please find the updated log. @yinjimmy I did double check my application id and it is correct.

03-13 13:11:27.818 3193-10067/? E/GameAgent: Application 10637373171 is not associated with package com.companyPackage.gameName. Check the application ID in your manifest.

I did double check. It is the same id as mentioned while configuring the game

Following is the message that I had got from Developer console after I had linked my game to Google Play Services.

‘You only need to include the application ID (10637373171) in your Android app.
10637373171-randomclientId-mentioned-here’

I should also mention that the package name mentioned in manifest file is not same as the application id mentioned in gradle file. I know they are independent of each other but can that be the issue ?

plz change && test.

You need to change com.companyPackage.gameName to the package name that’s in your google console.

Hi everyone,
I managed to figure out the issue. Problem was that I had not added my account in tester panel. I thought it was done earlier, since I had to configure testing devices to test the in app purchases. I should have double checked it, but I feel that the error message should have described the actual error better.

Thanks for your help @nite @yinjimmy

Let me add a check list into SDKBoxPlay documentation before testing.