SdkboxPlay v2.4.1.1 and latest Google Play Services

After upgrading from 2.4.0.3 to 2.4.1.1 I’ve got problems on Android:

  • with 15.0.1 play services account picker dialog is trying to show but not appears and sigin fails. On second try signin success in silent mode (without account picker dialog).
  • with 16.0.1 play services account picker appears but signin isn’t working

How can i fix this?

I’ve a similar problem: SDKBox Play issue (Android)

1 Like

sdkboxplay v 2.4.1.1 is depends on 12.0.1 by default
we will try 15.0.1 and 16.0.1, and update.

15.0.1:

implementation 'com.google.android.gms:play-services-auth:15.0.1'
implementation 'com.google.android.gms:play-services-drive:15.0.1'
implementation 'com.google.android.gms:play-services-games:15.0.1'

16.0.0:

implementation 'com.google.android.gms:play-services-auth:16.0.0'
implementation 'com.google.android.gms:play-services-drive:16.0.0'
implementation 'com.google.android.gms:play-services-games:16.0.0'

i use this, to login, all account picker dialog can show, and can sigin success.

you can check adb logcat, if any error info exist

I’ve do more tests, doesn’t work after upgrade from 2.4.0.3 to 2.4.1.1. I’m build release apk on two machines (linux and mac) and do tests on multiple devices (Pixel XL Android 9, Mi A1 Android 8.1, Samsung A8+ Android 8.0, Mi Pad3 Android 7.0). With 2.4.0.3 everything is working fine.

log on Mi Pad 3 with 15.0.1 after login button pressed

2018-10-08 13:57:37.169 1540-7338/? I/ActivityManager: START u0 {act=com.google.android.gms.auth.GOOGLE_SIGN_IN pkg=com.hatedonate.liftnext cmp=com.hatedonate.liftnext/com.google.android.gms.auth.api.signin.internal.SignInHubActivity (has extras)} from uid 10176 on display 0
2018-10-08 13:57:37.172 2300-2360/? D/WtProcessController: onAMCreateActivity callback
2018-10-08 13:57:37.177 2300-2360/? D/WtProcessController: onAMPauseActivity callback
2018-10-08 13:57:37.179 22030-22030/? D/Cocos2dxActivity: onWindowFocusChanged() hasFocus=false
2018-10-08 13:57:37.180 22030-22030/? D/Cocos2dxActivity: onPause()
2018-10-08 13:57:37.181 22030-22051/? V/FA: Recording user engagement, ms: 14999
2018-10-08 13:57:37.182 22030-22051/? V/FA: Connecting to remote service
2018-10-08 13:57:37.185 1540-3674/? I/MediaFocusControl: AudioFocus abandonAudioFocus() from uid/pid 10176/22030 clientId=android.media.AudioManager@ea949ecorg.cocos2dx.lib.Cocos2dxAudioFocusManager$1@b2291b5
2018-10-08 13:57:37.188 22030-22030/? D/AudioFocusManager: abandonAudioFocus succeed!
2018-10-08 13:57:37.196 2300-2360/? D/WtProcessController: onAMRestartActivity callback
2018-10-08 13:57:37.197 1540-2381/? I/Timeline: Timeline: App_transition_ready time:20255652
2018-10-08 13:57:37.199 22030-22051/? V/FA: Activity paused, time: 99488060
2018-10-08 13:57:37.209 22030-22030/? V/FA: onActivityCreated
2018-10-08 13:57:37.211 22030-22030/? I/Timeline: Timeline: Activity_launch_request time:20255665
2018-10-08 13:57:37.211 22030-22051/? D/FA: Logging event (FE): user_engagement(_e), Bundle[{firebase_event_origin(_o)=auto, engagement_time_msec(_et)=14999, firebase_screen_class(_sc)=cHQ, firebase_screen_id(_si)=-1480157122734045195, firebase_screen(_sn)=cHQ}]
2018-10-08 13:57:37.218 1540-2016/? I/ActivityManager: START u0 {act=com.google.android.gms.auth.GOOGLE_SIGN_IN pkg=com.google.android.gms cmp=com.google.android.gms/.auth.api.signin.ui.SignInActivity (has extras)} from uid 10176 on display 0
2018-10-08 13:57:37.228 1377-20953/? E/AudioFlinger: open /proc/22030/cmdline error
2018-10-08 13:57:37.228 1377-20953/? I/AudioFlinger: setAppName(), name=[], active=[0]
2018-10-08 13:57:37.232 2300-2360/? D/WtProcessController: onAMCreateActivity callback
2018-10-08 13:57:37.234 2300-2360/? D/WtProcessController: onAMPauseActivity callback
2018-10-08 13:57:37.243 22030-22051/? V/FA: Connection attempt already in progress
2018-10-08 13:57:37.250 22030-22051/? D/FA: Logging event (FE): screen_view(_vs), Bundle[{firebase_event_origin(_o)=auto, firebase_previous_class(_pc)=cHQ, firebase_previous_id(_pi)=-1480157122734045195, firebase_previous_screen(_pn)=cHQ, firebase_screen_class(_sc)=SignInHubActivity, firebase_screen_id(_si)=-1480157122734045194}]
2018-10-08 13:57:37.253 22030-22030/? D/ActivityThreadInjector: clearCachedDrawables.
2018-10-08 13:57:37.264 2300-2360/? D/WtProcessController: onAMRestartActivity callback
2018-10-08 13:57:37.264 2300-2360/? D/WtProcessController: set foreground process size 3 pid:2164pacakgeName:com.google.android.gms
2018-10-08 13:57:37.265 1540-2380/? I/Timeline: Timeline: App_transition_ready time:20255719
2018-10-08 13:57:37.267 1377-1425/? V/AudioPolicyManagerCustom: setOutputDevice() device 0000 delayMs 100 force 0
2018-10-08 13:57:37.267 1377-1425/? V/AudioPolicyManagerCustom: setOutputDevice() prevDevice 0002
2018-10-08 13:57:37.267 1377-1425/? V/AudioPolicyManagerCustom: setOutputDevice() setting same device 0000 or null device
2018-10-08 13:57:37.281 22030-22051/? V/FA: Connection attempt already in progress
2018-10-08 13:57:37.281 22030-22051/? V/FA: Connection attempt already in progress
2018-10-08 13:57:37.282 22030-22051/? V/FA: Activity resumed, time: 99488122
2018-10-08 13:57:37.283 22030-22051/? V/FA: Screen exposed for less than 1000 ms. Event not sent. time: 39
2018-10-08 13:57:37.283 22030-22051/? V/FA: Connection attempt already in progress
2018-10-08 13:57:37.283 22030-22051/? V/FA: Activity paused, time: 99488136
2018-10-08 13:57:37.288 1540-2699/? I/Timeline: Timeline: App_transition_ready time:20255742
2018-10-08 13:57:37.290 1540-2699/? I/Timeline: Timeline: App_transition_ready time:20255745
2018-10-08 13:57:37.294 265-1078/? D/IMGSRV: gralloc_device_alloc:1305: hnd=0x7147a13aa0 ID=37861 fd=79 ref=0 1536(1536)x2048-0x1 usage=0x900 size=12582912(12582912) cache=0
2018-10-08 13:57:37.295 265-1078/? D/IMGSRV: gralloc_device_alloc:1305: hnd=0x71459d8a60 ID=37862 fd=80 ref=0 1536(1536)x2048-0x1 usage=0x900 size=12582912(12582912) cache=0
2018-10-08 13:57:37.296 21870-21870/? D/ActivityThreadInjector: clearCachedDrawables.
2018-10-08 13:57:37.296 265-1078/? D/IMGSRV: gralloc_device_alloc:1305: hnd=0x71459d5180 ID=37863 fd=103 ref=0 1536(1536)x2048-0x1 usage=0x900 size=12582912(12582912) cache=0
2018-10-08 13:57:37.298 22030-22051/? D/FA: Connected to remote service
2018-10-08 13:57:37.299 22030-22051/? V/FA: Processing queued up service tasks: 5
2018-10-08 13:57:37.305 265-316/? D/IMGSRV: gralloc_device_free:1453: ID=37863 ref=0
2018-10-08 13:57:37.306 265-316/? D/IMGSRV: gralloc_device_alloc:1305: hnd=0x7147e47d80 ID=37865 fd=96 ref=0 1536(1536)x2048-0x1 usage=0xb00 size=12582912(12582912) cache=0
2018-10-08 13:57:37.307 22030-22099/? D/IMGSRV: gralloc_register_buffer:1583: hnd=0xc7064240 ID=37865 fd=172 ref=1
2018-10-08 13:57:37.316 2164-22151/? V/FA-SVC: Logging event: origin=auto,name=user_engagement(_e),params=Bundle[{firebase_event_origin(_o)=auto, engagement_time_msec(_et)=14999, firebase_screen_class(_sc)=cHQ, firebase_screen_id(_si)=-1480157122734045195, firebase_screen(_sn)=cHQ}]
2018-10-08 13:57:37.321 1540-1568/? I/Timeline: Timeline: App_transition_ready time:20255775
2018-10-08 13:57:37.322 1540-1568/? I/Timeline: Timeline: App_transition_ready time:20255776
2018-10-08 13:57:37.323 265-2949/? D/IMGSRV: gralloc_device_alloc:1305: hnd=0x71459d8100 ID=37866 fd=101 ref=0 192(192)x192-0x1 usage=0x900 size=147456(147456) cache=0
2018-10-08 13:57:37.323 265-2949/? D/IMGSRV: gralloc_device_alloc:1305: hnd=0x71459d8600 ID=37867 fd=103 ref=0 192(192)x192-0x1 usage=0x900 size=147456(147456) cache=0
2018-10-08 13:57:37.323 265-2949/? D/IMGSRV: gralloc_device_alloc:1305: hnd=0x7147e47ec0 ID=37868 fd=112 ref=0 192(192)x192-0x1 usage=0x900 size=147456(147456) cache=0
2018-10-08 13:57:37.328 1540-1613/? I/Timeline: Timeline: App_transition_ready time:20255783
2018-10-08 13:57:37.329 1540-1613/? I/Timeline: Timeline: App_transition_ready time:20255784
2018-10-08 13:57:37.333 2164-22151/? V/FA-SVC: Saving event, name, data size: user_engagement(_e), 71
2018-10-08 13:57:37.333 2164-22151/? V/FA-SVC: Event recorded: Event{appId=‘com.hatedonate.liftnext’, name=‘user_engagement(_e)’, params=Bundle[{firebase_event_origin(_o)=auto, engagement_time_msec(_et)=14999, firebase_screen_class(_sc)=cHQ, firebase_screen_id(_si)=-1480157122734045195, firebase_screen(_sn)=cHQ}]}
2018-10-08 13:57:37.335 2164-22151/? V/FA-SVC: Upload scheduled in approximately ms: 2143456
2018-10-08 13:57:37.336 2164-22151/? V/FA-SVC: Cancelling job. JobID: 812057698
2018-10-08 13:57:37.339 265-314/? D/IMGSRV: gralloc_device_free:1453: ID=37868 ref=0
2018-10-08 13:57:37.339 265-314/? D/IMGSRV: gralloc_device_alloc:1305: hnd=0x7147e47e20 ID=37870 fd=97 ref=0 192(192)x192-0x1 usage=0xb00 size=147456(147456) cache=0
2018-10-08 13:57:37.339 21870-21894/? D/IMGSRV: gralloc_register_buffer:1583: hnd=0x729ee2ff80 ID=37870 fd=69 ref=1
2018-10-08 13:57:37.340 2164-22151/? V/FA-SVC: Scheduling upload with GcmTaskService
2018-10-08 13:57:37.341 2164-22151/? V/FA-SVC: Scheduling task with Gcm. time: 2143456
2018-10-08 13:57:37.341 1540-7339/? I/Timeline: Timeline: App_transition_ready time:20255796
2018-10-08 13:57:37.343 1540-1613/? I/Timeline: Timeline: App_transition_ready time:20255798
2018-10-08 13:57:37.348 1540-1613/? I/Timeline: Timeline: App_transition_ready time:20255802
2018-10-08 13:57:37.348 1540-1613/? I/Timeline: Timeline: App_transition_stopped time:20255802
2018-10-08 13:57:37.348 2164-2180/? W/GamesServiceBroker: Client connected with SDK 14366000, Services 14366020, and Games 70890046
2018-10-08 13:57:37.349 2164-22151/? V/FA-SVC: Background event processing time, ms: 33
2018-10-08 13:57:37.351 1809-1809/? D/PhoneStatusBar: disable: 0x00000100 -> 0x00000000 (diff: 0x00000100)
2018-10-08 13:57:37.351 1809-1809/? D/PhoneStatusBar: disable: < expand icons alerts ticker system_info back home recent clock full hide* keyguard none float >
2018-10-08 13:57:37.351 1809-1809/? D/PhoneStatusBar: showStatusBar isshow=true;delay=false
2018-10-08 13:57:37.352 2134-2141/? I/octvm_power: handle event trigger full_screen_exit
2018-10-08 13:57:37.354 1540-1613/? I/ActivityManager: Displayed com.google.android.gms/.auth.api.signin.ui.SignInActivity: +95ms (total +161ms)
2018-10-08 13:57:37.354 1540-1613/? I/Timeline: Timeline: Activity_windows_visible id: ActivityRecord{5232d93 u0 com.hatedonate.liftnext/com.google.android.gms.auth.api.signin.internal.SignInHubActivity t14} time:20255809
2018-10-08 13:57:37.359 265-316/? D/IMGSRV: gralloc_device_free:1453: ID=37862 ref=0
2018-10-08 13:57:37.360 1809-1809/? V/PhoneStatusBarPolicy: updateManagedProfile mManagedProfileFocused: false mManagedProfileInQuietMode: false mKeyguardVisible: false mCurrentUserId:0 mCurrentProfileId:0 mSecondSpaceStatusIconVisible: true showIcon:false
2018-10-08 13:57:37.361 265-316/? D/IMGSRV: gralloc_device_alloc:1305: hnd=0x71459d89c0 ID=37871 fd=67 ref=0 1536(1536)x2048-0x1 usage=0xb00 size=12582912(12582912) cache=0
2018-10-08 13:57:37.361 1987-18843/? E/NetworkScheduler: Invalid component specified.
2018-10-08 13:57:37.362 22030-22099/? D/IMGSRV: gralloc_register_buffer:1583: hnd=0xc70642e0 ID=37871 fd=81 ref=1
2018-10-08 13:57:37.372 265-452/? D/IMGSRV: gralloc_device_free:1453: ID=37861 ref=0
2018-10-08 13:57:37.374 265-452/? D/IMGSRV: gralloc_device_alloc:1305: hnd=0x7147a13e60 ID=37872 fd=73 ref=0 1536(1536)x2048-0x1 usage=0xb00 size=12582912(12582912) cache=0
2018-10-08 13:57:37.375 22030-22099/? D/IMGSRV: gralloc_register_buffer:1583: hnd=0xc7064560 ID=37872 fd=170 ref=1
2018-10-08 13:57:37.378 2164-19701/? W/GamesServiceBroker: Client connected with SDK 14536000, Services 14366020, and Games 70890046
2018-10-08 13:57:37.379 2164-22151/? V/FA-SVC: Logging event: origin=auto,name=screen_view(_vs),params=Bundle[{firebase_event_origin(_o)=auto, firebase_previous_class(_pc)=cHQ, firebase_previous_id(_pi)=-1480157122734045195, firebase_previous_screen(_pn)=cHQ, firebase_screen_class(_sc)=SignInHubActivity, firebase_screen_id(_si)=-1480157122734045194}]
2018-10-08 13:57:37.386 2164-22151/? V/FA-SVC: Saving event, name, data size: screen_view(_vs), 105
2018-10-08 13:57:37.387 2164-22151/? V/FA-SVC: Event recorded: Event{appId=‘com.hatedonate.liftnext’, name=‘screen_view(_vs)’, params=Bundle[{firebase_event_origin(_o)=auto, firebase_previous_class(_pc)=cHQ, firebase_previous_id(_pi)=-1480157122734045195, firebase_previous_screen(_pn)=cHQ, firebase_screen_class(_sc)=SignInHubActivity, firebase_screen_id(_si)=-1480157122734045194}]}
2018-10-08 13:57:37.389 2164-22151/? V/FA-SVC: Upload scheduled in approximately ms: 2143402
2018-10-08 13:57:37.393 2164-22151/? V/FA-SVC: Cancelling job. JobID: 812057698
2018-10-08 13:57:37.399 2164-22151/? V/FA-SVC: Scheduling upload with GcmTaskService
2018-10-08 13:57:37.399 2164-22151/? V/FA-SVC: Scheduling task with Gcm. time: 2143402
2018-10-08 13:57:37.404 2164-22151/? V/FA-SVC: Background event processing time, ms: 25
2018-10-08 13:57:37.413 1987-18843/? E/NetworkScheduler: Invalid component specified.
2018-10-08 13:57:37.453 1540-3674/? W/AppOps: Bad call: specified package com.google.android.play.games under uid 10013 but it is really 10127
java.lang.RuntimeException: here
at com.android.server.AppOpsService.getOpsRawLocked(AppOpsService.java:1395)
at com.android.server.AppOpsService.checkPackage(AppOpsService.java:1063)
at com.android.internal.app.IAppOpsService$Stub.onTransact(IAppOpsService.java:169)
at android.os.Binder.execTransact(Binder.java:565)
2018-10-08 13:57:37.477 1987-1987/? W/ChimeraUtils: Non Chimera context
2018-10-08 13:57:37.485 2164-19701/? W/GamesServiceBroker: Client connected with SDK 14536000, Services 14366020, and Games 70890046
2018-10-08 13:57:37.541 2164-2169/? I/art: Compiler allocated 9MB to compile android.database.Cursor com.google.android.gms.games.provider.PlayGamesContentProvider.a(android.database.sqlite.SQLiteDatabase, android.net.Uri, java.lang.String[], java.lang.String, java.lang.String[], java.lang.String)
2018-10-08 13:57:37.555 1540-1613/? I/Timeline: Timeline: Activity_windows_visible id: ActivityRecord{9276585 u0 com.google.android.gms/.auth.api.signin.ui.SignInActivity t14} time:20256010
2018-10-08 13:57:37.590 2300-2360/? D/WtProcessController: onAMPauseActivity callback
2018-10-08 13:57:37.593 2300-2360/? D/WtProcessController: onAMDestroyActivity callback
2018-10-08 13:57:37.607 2300-2360/? D/WtProcessController: onAMResumeActivity callback
2018-10-08 13:57:37.607 2300-2360/? D/WtProcessController: set foreground process size 2 pid:22030pacakgeName:com.hatedonate.liftnext
2018-10-08 13:57:37.616 22030-22051/? V/FA: Activity resumed, time: 99488494
2018-10-08 13:57:37.622 1540-2699/? I/Timeline: Timeline: App_transition_ready time:20256077
2018-10-08 13:57:37.623 1540-2699/? I/Timeline: Timeline: App_transition_stopped time:20256077
2018-10-08 13:57:37.643 2491-2601/? D/Analytics-Core-Analytics: trackEvent
2018-10-08 13:57:37.643 1809-1809/? V/PhoneStatusBarPolicy: updateManagedProfile mManagedProfileFocused: false mManagedProfileInQuietMode: false mKeyguardVisible: false mCurrentUserId:0 mCurrentProfileId:0 mSecondSpaceStatusIconVisible: true showIcon:false
2018-10-08 13:57:37.644 2491-2601/? D/Analytics-Core-SysUtils: getUserId, uid:1000, userId:0
2018-10-08 13:57:37.646 2491-2601/? D/Analytics-Core-Analytics: trackEvent
2018-10-08 13:57:37.646 2491-2601/? D/Analytics-Core-SysUtils: getUserId, uid:1000, userId:0
2018-10-08 13:57:37.647 2491-22260/? D/Analytics-Core-PollingSender: sample rate match.
2018-10-08 13:57:37.647 2491-22260/? D/Analytics-Core-TrackerStore: pushEvent 1 events into db.
2018-10-08 13:57:37.648 2491-22260/? D/Analytics-Core-InsertEvents: session start
2018-10-08 13:57:37.648 2491-22260/? D/Analytics-Core-AnalyticsDB: insert events 1
2018-10-08 13:57:37.649 2491-2601/? D/Analytics-Core-Analytics: trackEvent
2018-10-08 13:57:37.651 2491-2601/? D/Analytics-Core-SysUtils: getUserId, uid:1000, userId:0
2018-10-08 13:57:37.651 2491-22262/? D/Analytics-Core-PollingSender: sample rate match.
2018-10-08 13:57:37.651 2491-22262/? D/Analytics-Core-TrackerStore: pushEvent 1 events into db.
2018-10-08 13:57:37.651 2491-22262/? D/Analytics-Core-InsertEvents: session start
2018-10-08 13:57:37.651 2491-22262/? D/Analytics-Core-AnalyticsDB: insert events 1
2018-10-08 13:57:37.655 2491-2601/? D/Analytics-Core-Analytics: trackEvent
2018-10-08 13:57:37.655 2491-22260/? D/Analytics-Core-InsertEvents: session end. cost time is 4
2018-10-08 13:57:37.655 2491-22260/? D/Analytics-Core-PollingSender: mUploadTask is already running…
2018-10-08 13:57:37.658 2491-2601/? D/Analytics-Core-SysUtils: getUserId, uid:1000, userId:0
2018-10-08 13:57:37.658 2491-22263/? D/Analytics-Core-PollingSender: sample rate match.
2018-10-08 13:57:37.658 2491-22263/? D/Analytics-Core-TrackerStore: pushEvent 1 events into db.
2018-10-08 13:57:37.659 2491-22263/? D/Analytics-Core-InsertEvents: session start
2018-10-08 13:57:37.659 2491-22263/? D/Analytics-Core-AnalyticsDB: insert events 1
2018-10-08 13:57:37.662 2491-22261/? D/Analytics-Core-PollingSender: sample rate match.
2018-10-08 13:57:37.662 2491-22261/? D/Analytics-Core-TrackerStore: pushEvent 1 events into db.
2018-10-08 13:57:37.662 2491-22261/? D/Analytics-Core-InsertEvents: session start
2018-10-08 13:57:37.662 2491-22261/? D/Analytics-Core-AnalyticsDB: insert events 1
2018-10-08 13:57:37.663 2491-22262/? D/Analytics-Core-InsertEvents: session end. cost time is 1
2018-10-08 13:57:37.663 2491-22262/? D/Analytics-Core-PollingSender: mUploadTask is already running…
2018-10-08 13:57:37.669 2491-22263/? D/Analytics-Core-InsertEvents: session end. cost time is 7
2018-10-08 13:57:37.670 2491-22263/? D/Analytics-Core-PollingSender: mUploadTask is already running…
2018-10-08 13:57:37.676 2491-22261/? D/Analytics-Core-InsertEvents: session end. cost time is 14
2018-10-08 13:57:37.676 2491-22261/? D/Analytics-Core-PollingSender: mUploadTask is already running…
2018-10-08 13:57:37.688 2300-2360/? D/WtProcessController: onAMPauseActivity callback
2018-10-08 13:57:37.697 21870-21894/? D/IMGSRV: gralloc_unregister_buffer:1708: ID=37870 ref=0
2018-10-08 13:57:37.697 265-452/? D/IMGSRV: gralloc_device_free:1453: ID=37867 ref=0
2018-10-08 13:57:37.698 265-452/? D/IMGSRV: gralloc_device_free:1453: ID=37866 ref=0
2018-10-08 13:57:37.706 1540-2080/? I/WindowManager: Destroying surface Surface(name=com.google.android.gms/com.google.android.gms.auth.api.signin.ui.SignInActivity) called by com.android.server.wm.WindowStateAnimator.destroySurface:2020 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:887 com.android.server.wm.WindowState.removeLocked:1450 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2490 com.android.server.wm.WindowManagerService.removeWindowLocked:2448 com.android.server.wm.WindowManagerService.removeWindowLocked:2317 com.android.server.wm.WindowManagerService.removeWindow:2312 com.android.server.wm.Session.remove:193
2018-10-08 13:57:37.724 265-265/? D/IMGSRV: gralloc_device_free:1453: ID=37870 ref=0
2018-10-08 13:57:37.725 22030-22051/? V/FA: Screen exposed for less than 1000 ms. Event not sent. time: 110
2018-10-08 13:57:37.727 22030-22051/? V/FA: Activity paused, time: 99488604
2018-10-08 13:57:37.728 2300-2360/? D/WtProcessController: onAMDestroyActivity callback
2018-10-08 13:57:37.731 2300-2360/? D/WtProcessController: onAMResumeActivity callback
2018-10-08 13:57:37.735 1540-1725/? I/Timeline: Timeline: App_transition_ready time:20256190
2018-10-08 13:57:37.739 22030-22030/? D/Cocos2dxActivity: onWindowFocusChanged() hasFocus=true
2018-10-08 13:57:37.740 1809-1809/? V/PhoneStatusBarPolicy: updateManagedProfile mManagedProfileFocused: false mManagedProfileInQuietMode: false mKeyguardVisible: false mCurrentUserId:0 mCurrentProfileId:0 mSecondSpaceStatusIconVisible: true showIcon:false
2018-10-08 13:57:37.741 22030-22053/? D/EngineDataManager.cpp: setAnimationInterval by engine: 0.0167
2018-10-08 13:57:37.741 22030-22053/? D/EngineDataManager.cpp: JNI setAnimationInterval: 0.016667
2018-10-08 13:57:37.742 1377-1695/? V/AudioPolicyManagerCustom: setOutputDevice() device 0002 delayMs 0 force 1
2018-10-08 13:57:37.742 1377-1695/? V/AudioPolicyManagerCustom: setOutputDevice() prevDevice 0002
2018-10-08 13:57:37.742 1377-1695/? V/AudioPolicyManagerCustom: setOutputDevice() changing device
2018-10-08 13:57:37.745 1377-1433/? V/AudioALSAHardware: +createAudioPatch num_sources(1) num_sinks(1)
2018-10-08 13:57:37.745 1377-1433/? V/AudioALSAHardware: createAudioPatch dump sources[0/1] port config >>
2018-10-08 13:57:37.745 1377-1433/? V/AudioALSAHardware: id(3) role(AUDIO_PORT_ROLE_SOURCE) type(AUDIO_PORT_TYPE_MIX) config_mask(0x7)
2018-10-08 13:57:37.745 1377-1433/? V/AudioALSAHardware: sample_rate = 48000 channel_mask = 0x3 format = 0x1
2018-10-08 13:57:37.745 1377-1433/? V/AudioALSAHardware: audio_gain_config index = -1 mode = 0x0 channel_mask = 0x0 ramp_duration_ms = 0
2018-10-08 13:57:37.745 1377-1433/? V/AudioALSAHardware: audio_gain_config values[0] = 0
2018-10-08 13:57:37.745 1377-1433/? V/AudioALSAHardware: audio_gain_config values[1] = 0

2018-10-08 13:57:37.746 1377-1433/? V/AudioALSAHardware: mix hw_module = 10 handle = 21 stream = -1 source = -1
2018-10-08 13:57:37.746 1377-1433/? V/AudioALSAHardware: createAudioPatch dump sources[0/1] port config <<
2018-10-08 13:57:37.746 1377-1433/? V/AudioALSAHardware: createAudioPatch dump sink[0/1] port config >>
2018-10-08 13:57:37.746 1377-1433/? V/AudioALSAHardware: id(1) role(AUDIO_PORT_ROLE_SINK) type(AUDIO_PORT_TYPE_DEVICE) config_mask(0x0)
2018-10-08 13:57:37.746 1377-1433/? V/AudioALSAHardware: sample_rate = 0 channel_mask = 0x0 format = 0xffffffff
2018-10-08 13:57:37.746 1377-1433/? V/AudioALSAHardware: audio_gain_config index = -1 mode = 0x746e696f channel_mask = 0x666f2073 ramp_duration_ms = 547193058
2018-10-08 13:57:37.746 1377-1433/? V/AudioALSAHardware: audio_gain_config values[0] = 1768453152

2018-10-08 13:57:37.746 1377-1433/? V/AudioALSAHardware: audio_gain_config values[31] = 1128878933
2018-10-08 13:57:37.747 1377-1433/? V/AudioALSAHardware: device hw_module = 10 type = 0x2 address =
2018-10-08 13:57:37.747 1377-1433/? V/AudioALSAHardware: createAudioPatch dump sink[0/1] port config <<
2018-10-08 13:57:37.747 1377-1433/? W/AudioALSAStreamManager: -routingOutputDevice(), output_devices == current_output_devices(0x2), return
2018-10-08 13:57:37.747 1377-1433/? V/AudioALSAHardware: createAudioPatch removing patch handle 9
2018-10-08 13:57:37.747 1377-1433/? V/AudioALSAHardware: -createAudioPatch
2018-10-08 13:57:37.747 1377-1695/? V/AudioPolicyManagerCustom: setOutputDevice() createAudioPatch returned 0 patchHandle 84num_sources 1 num_sinks 1
2018-10-08 13:57:37.747 1377-1695/? V/AudioPolicyManagerCustom: checkAndSetVolume() cannot set stream 6 volume with force use = 0 for comm
2018-10-08 13:57:37.747 1377-1695/? V/AudioPolicyManagerCustom: checkAndSetVolume() stream 9 muted count 1
2018-10-08 13:57:37.747 1377-1695/? E/AudioFlinger: open /proc/22030/cmdline error
2018-10-08 13:57:37.747 1377-1695/? I/AudioFlinger: setAppName(), name=[], active=[1]
2018-10-08 13:57:37.748 22030-22099/? D/IMGSRV: gralloc_unregister_buffer:1708: ID=37872 ref=0
2018-10-08 13:57:37.748 22030-22099/? D/IMGSRV: gralloc_unregister_buffer:1708: ID=37871 ref=0
2018-10-08 13:57:37.748 22030-22099/? D/IMGSRV: gralloc_unregister_buffer:1708: ID=37865 ref=0
2018-10-08 13:57:37.749 265-316/? D/IMGSRV: gralloc_device_free:1453: ID=37871 ref=0
2018-10-08 13:57:37.749 265-316/? D/IMGSRV: gralloc_device_free:1453: ID=37865 ref=0
2018-10-08 13:57:37.751 1540-7339/? I/WindowManager: Destroying surface Surface(name=com.hatedonate.liftnext/com.google.android.gms.auth.api.signin.internal.SignInHubActivity) called by com.android.server.wm.WindowStateAnimator.destroySurface:2020 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:887 com.android.server.wm.WindowState.removeLocked:1450 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2490 com.android.server.wm.WindowManagerService.removeWindowLocked:2448 com.android.server.wm.WindowManagerService.removeWindowLocked:2317 com.android.server.wm.WindowManagerService.removeWindow:2312 com.android.server.wm.Session.remove:193
2018-10-08 13:57:37.754 265-265/? W/SurfaceFlinger: couldn’t log to binary event log: overflow.
2018-10-08 13:57:37.756 265-265/? D/IMGSRV: gralloc_device_free:1453: ID=37872 ref=0
2018-10-08 13:57:37.756 22030-22030/? D/Cocos2dxActivity: onResume()
2018-10-08 13:57:37.758 1540-2380/? I/MediaFocusControl: AudioFocus requestAudioFocus() from uid/pid 10176/22030 clientId=android.media.AudioManager@ea949ecorg.cocos2dx.lib.Cocos2dxAudioFocusManager$1@b2291b5 req=1 flags=0x0
2018-10-08 13:57:37.758 22030-22030/? D/AudioFocusManager: requestAudioFocus succeed
2018-10-08 13:57:37.762 1540-2080/? I/Timeline: Timeline: App_transition_stopped time:20256216
2018-10-08 13:57:37.765 22030-22053/? D/EngineDataManager.cpp: setAnimationInterval by engine: 0.0167
2018-10-08 13:57:37.765 22030-22053/? D/EngineDataManager.cpp: JNI setAnimationInterval: 0.016667
2018-10-08 13:57:37.774 22030-22051/? D/FA: Logging event (FE): screen_view(_vs), Bundle[{firebase_event_origin(_o)=auto, firebase_previous_class(_pc)=SignInHubActivity, firebase_previous_id(_pi)=-1480157122734045194, firebase_screen_class(_sc)=cHQ, firebase_screen_id(_si)=-1480157122734045195, firebase_screen(_sn)=cHQ}]
2018-10-08 13:57:37.795 1370-1408/? D/AALLightSensor: newLux = 22, [21, 19] -> 17
2018-10-08 13:57:37.813 22030-22051/? V/FA: Activity resumed, time: 99488636
2018-10-08 13:57:37.815 2164-22151/? V/FA-SVC: Logging event: origin=auto,name=screen_view(_vs),params=Bundle[{firebase_event_origin(_o)=auto, firebase_previous_class(_pc)=SignInHubActivity, firebase_previous_id(_pi)=-1480157122734045194, firebase_screen_class(_sc)=cHQ, firebase_screen_id(_si)=-1480157122734045195, firebase_screen(_sn)=cHQ}]
2018-10-08 13:57:37.829 2164-22151/? V/FA-SVC: Saving event, name, data size: screen_view(_vs), 105
2018-10-08 13:57:37.830 2164-22151/? V/FA-SVC: Event recorded: Event{appId=‘com.hatedonate.liftnext’, name=‘screen_view(_vs)’, params=Bundle[{firebase_event_origin(_o)=auto, firebase_previous_class(_pc)=SignInHubActivity, firebase_previous_id(_pi)=-1480157122734045194, firebase_screen_class(_sc)=cHQ, firebase_screen_id(_si)=-1480157122734045195, firebase_screen(_sn)=cHQ}]}
2018-10-08 13:57:37.834 2164-22151/? V/FA-SVC: Upload scheduled in approximately ms: 2142957
2018-10-08 13:57:37.836 2164-22151/? V/FA-SVC: Cancelling job. JobID: 812057698
2018-10-08 13:57:37.838 2164-4208/? W/GamesServiceBroker: Client connected with SDK 12451000, Services 14366020, and Games 70890046
2018-10-08 13:57:37.843 2164-22151/? V/FA-SVC: Scheduling upload with GcmTaskService
2018-10-08 13:57:37.843 2164-22151/? V/FA-SVC: Scheduling task with Gcm. time: 2142957
2018-10-08 13:57:37.848 2164-22151/? V/FA-SVC: Background event processing time, ms: 34
2018-10-08 13:57:37.858 1987-18433/? E/NetworkScheduler: Invalid component specified.
2018-10-08 13:57:37.862 2164-19702/? W/GamesServiceBroker: Client connected with SDK 14536000, Services 14366020, and Games 70890046
2018-10-08 13:57:37.902 1540-2381/? W/AppOps: Bad call: specified package com.google.android.play.games under uid 10176 but it is really 10127
java.lang.RuntimeException: here
at com.android.server.AppOpsService.getOpsRawLocked(AppOpsService.java:1395)
at com.android.server.AppOpsService.checkPackage(AppOpsService.java:1063)
at com.android.internal.app.IAppOpsService$Stub.onTransact(IAppOpsService.java:169)
at android.os.Binder.execTransact(Binder.java:565)
2018-10-08 13:57:37.960 2164-19702/? W/GamesServiceBroker: Client connected with SDK 14536000, Services 14366020, and Games 70890046
2018-10-08 13:57:38.089 1809-1809/? D/PhoneStatusBar: disable: 0x00000000 -> 0x00000100 (diff: 0x00000100)
2018-10-08 13:57:38.089 1809-1809/? D/PhoneStatusBar: disable: < expand icons alerts ticker system_info back home recent clock full HIDE* keyguard none float >
2018-10-08 13:57:38.089 1809-1809/? D/PhoneStatusBar: showStatusBar isshow=false;delay=false
2018-10-08 13:57:38.090 1540-1594/? W/System.err: org.json.JSONException: No value for com.hatedonate.liftnext
2018-10-08 13:57:38.090 1540-1594/? W/System.err: at org.json.JSONObject.get(JSONObject.java:389)
2018-10-08 13:57:38.090 1540-1594/? W/System.err: at miui.util.AutoDisableScreenButtonsHelper.getValue(AutoDisableScreenButtonsHelper.java:55)
2018-10-08 13:57:38.090 1540-1594/? W/System.err: at miui.util.AutoDisableScreenButtonsHelper.getAppFlag(AutoDisableScreenButtonsHelper.java:42)
2018-10-08 13:57:38.090 1540-1594/? W/System.err: at miui.util.AutoDisableScreenButtonsManager$1.run(AutoDisableScreenButtonsManager.java:83)
2018-10-08 13:57:38.090 1540-1594/? W/System.err: at android.os.Handler.handleCallback(Handler.java:751)
2018-10-08 13:57:38.090 1540-1594/? W/System.err: at android.os.Handler.dispatchMessage(Handler.java:95)
2018-10-08 13:57:38.091 1540-1594/? W/System.err: at android.os.Looper.loop(Looper.java:154)
2018-10-08 13:57:38.091 1540-1594/? W/System.err: at android.os.HandlerThread.run(HandlerThread.java:61)
2018-10-08 13:57:38.091 1540-1594/? W/System.err: at com.android.server.ServiceThread.run(ServiceThread.java:46)
2018-10-08 13:57:38.091 2134-2134/? I/octvm_power: handle event trigger full_screen_enter
2018-10-08 13:57:38.092 19945-19956/? I/CloudSettingsProvider: uriMatch : 2
2018-10-08 13:57:38.092 19945-19956/? I/CloudSettingsProvider: Get data by cache
2018-10-08 13:57:38.769 265-369/? W/hwcomposer: [JOB] (0) Timed out waiting for vsync…
2018-10-08 13:57:39.285 265-369/? W/hwcomposer: [JOB] (0) Timed out waiting for vsync…
2018-10-08 13:57:40.266 2300-2300/? D/WtProcessStrategy: do trim { PackageName :com.android.settings Pid: 20010 Uid: 1000 Start by: service Score:50 Old score:50 state:0 mBackgroundTimeInMillis:1538996221442 WakelockCount:0 wakelogsize:0 ActivityDestroied:false Activity size: 0 PackageInfo:{WhetstonePackageInfo#PacakgeName:com.android.settings uid:1000 uiMemoryThresold:512 nonUiMemoryThresold:256 Flag:-2147480764,0x80000b44 [,DestoryActivity,TRIMHEAPS,TRIM_OPENGL,APP_SYSTEM,TRIMPROCESS_BY_ACTIVITY] Type:0[] } tasknum:-1}
2018-10-08 13:57:40.608 2300-2300/? D/WtProcessController: deal background too Frequently, ingore

i review all commit between v2.4.0.3 and v2.4.1.1, sdkboxplay didn’t have related change.

can you give me a test sample project, so i can debug.

hm, your sample project working fine after upgrade and switching to 15.0.1. I will test upgrade in our other projects this week.

nope, doesn’t work correctly on other projects after upgrade. But i’ve found one same problem with your sample project on my test devices (Android 9/8/6). After first login play game services displays something like snackbar with user info (user avatar, name and current level, look at attached sample image)


But this user info doesn’t appear in your sample project (by default, without any changes) after success login. Can you check this on your side? May be this is a key for my problem.

the welcome ui does not show every time.

need more research.

any news?.

welcome ui not show, seem like it’s google play service’s mechanism

you can’t login success?

SDKBox Play issue (Android) he set wrong client id and keystore . That’s why he can not login with google.

i have already working game with sdkbox play and just upgrade your libs.
I will upgrade firebase sdk to latest this week and test it again.

i’ve upgrade everything and now i have new problem. Play services working fine, player can view leaderboard but now everytime player should select account on connect to services. Doesn’t matter showLoginUI is true or false. On every connect play services display UI with accounts.

here is a new version jar, you can try

PluginSdkboxPlay.jar.zip (78.7 KB)

1 Like

What is the version of this file? I was using 2.4.1.1. But it was causing problems like after signing in, when app goes to bg or closed, on resuming or restarting the app, again i had to sign in.

Thanks, everything working fine (welcome ui also) with new version of jar.

this is for 2.4.1.1