SOLVED Google Game Services Login Issues?

Hello all,

Searching for some help here.

I've deployed a couple projects with GGS/Achievements/Leaderboards previously in 2020, but I can't seem to get a successful login after the OAuth change and "Google Cloud Platform" requirements. The code I'm using is all lifted straight from the YYG Google Game Services examples, and has served me well up until this point.


This video is from a Google Play Store distributed apk in "Open Testing":


The Google Game Services activity you see pops up directly after any successful call to "achievement_login()".

The GGS login activity just sort of hangs there, which is not a behavior I had seen previously. I imagine it is waiting for a response it is not receiving, but I'm not seeing any useful compiler output from a devbuild, and I of course can't see anything from a Google-Play distributed Build either.

Can anyone confirm or deny that they've been able to follow the updated docs and get a successful Android login?

Or perhaps are there more steps in "Google Cloud Platform" now? There's a section about a "OAuth consent screen" that's not addressed in the documentation, I can't tell if it is necessary to get a successful login.

I imagine I have something misconfigured but working with Google Game Services has always been such a cluster that I'm genuinely not sure how to proceed.

Java:
--------- beginning of system
--------- beginning of main
02-15 12:20:36.414 19812 19812 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 2000 <<<<<<
02-15 12:20:36.837 19812 19812 D AndroidRuntime: Calling main entry com.android.commands.pm.Pm
02-15 12:20:36.865 19812 19812 I AndroidRuntime: VM exiting with result code 0.
02-15 12:20:45.319 20144 20144 I yoyo    : onCreate
02-15 12:20:45.322 20144 20144 I yoyo    : #######!!!!!!! Checking for runner - found assets
02-15 12:20:45.323 20144 20144 I yoyo    : ###@@@@!!!~~~~###### versionName - 1.0.8
02-15 12:20:45.508 20144 20144 I yoyo    : ###@@@@!!!~~~~###### default orientation - 1
02-15 12:20:45.508 20144 20144 I yoyo    : #####!!!! package name is com.theinfamousmrmeow.chronoplane
02-15 12:20:45.508 20144 20144 I yoyo    : Loading INI from manifest file
02-15 12:20:45.509 20144 20144 I yoyo    : INI loaded from AndroidManifest.xml
02-15 12:20:45.509 20144 20144 I yoyo    : Attempting to initialise extension class com.theinfamousmrmeow.chronoplane.GooglePlayServicesExtension
02-15 12:20:45.510 20144 20144 I yoyo    : Method found, attempting to invoke Init
02-15 12:20:45.513 20144 20144 I yoyo    : Google Play Services extension initialising
02-15 12:20:45.514 20144 20144 I yoyo    : Initialising Google Play Services. App id: 228832501719
02-15 12:20:45.516 20144 20144 I yoyo    : Signing into google game services. Cloud enabled: false. Options builder: com.google.android.gms.auth.api.signin.GoogleSignInOptions$Builder@432f42e
02-15 12:20:45.520 20144 20144 I yoyo    : Attempting to initialise extension class com.theinfamousmrmeow.chronoplane.GooglePlayAdsExtension
02-15 12:20:45.520 20144 20144 I yoyo    : Method found, attempting to invoke Init
02-15 12:20:45.520 20144 20144 I yoyo    : Attempting to initialise extension class com.theinfamousmrmeow.chronoplane.GooglePlayLicensingAsExt
02-15 12:20:45.521 20144 20144 I yoyo    : Method found, attempting to invoke Init
02-15 12:20:45.521 20144 20144 I yoyo    : Google Play Licensing extension initialising
02-15 12:20:45.521 20144 20144 I yoyo    : Attempting to initialise extension class com.theinfamousmrmeow.chronoplane.GooglePlayBilling
02-15 12:20:45.521 20144 20144 I yoyo    : No Init method found on extension class:GooglePlayBilling returned Init []
02-15 12:20:45.522 20144 20144 I yoyo    : Attempting to initialise extension class com.theinfamousmrmeow.chronoplane.PlayAPKExpansionExtension
02-15 12:20:45.522 20144 20144 I yoyo    : Method found, attempting to invoke Init
02-15 12:20:45.523 20144 20144 I yoyo    : @@@@@@@ Build.Display = OPR4.170623.009 BRAND=google DEVICE=bullhead MANUFACTURER=LGE MODEL=Nexus 5X PRODUCT=bullhead
02-15 12:20:45.523 20144 20144 I yoyo    : @@@@@@@ XPeriaPlay=false manufacturer=false model=false
02-15 12:20:45.558 20144 20144 I yoyo    : deviceId=bc9745626f443ee2
02-15 12:20:45.626 20144 20144 I yoyo    : Invalid license key found
02-15 12:20:45.643 20144 20144 I yoyo    : exception while doing license check! invalid license key????java.lang.IllegalArgumentException: java.security.spec.InvalidKeySpecException: java.lang.RuntimeException: error:0c00007b:ASN.1 encoding routines:OPENSSL_internal:HEADER_TOO_LONG
02-15 12:20:45.644 20144 20144 I yoyo    : !!!!!!! Checking if APK Expansion file required...
02-15 12:20:45.644 20144 20144 I yoyo    :  + + + + setupView + + + +
02-15 12:20:45.657 20144 20144 I yoyo    : #####!!!! package name is com.theinfamousmrmeow.chronoplane
02-15 12:20:45.657 20144 20144 I yoyo    : Loading INI from manifest file
02-15 12:20:45.658 20144 20144 I yoyo    : INI loaded from AndroidManifest.xml
02-15 12:20:45.658 20144 20144 I yoyo    : RestrictOrientation setting from YYPrefs
02-15 12:20:45.658 20144 20144 I yoyo    : RestrictOrientation("false", "true"false"false")
02-15 12:20:45.658 20144 20144 I yoyo    : Trying GL2 config...
02-15 12:20:45.870 20144 20144 I yoyo    : Using OpenGL ES 2 renderer
02-15 12:20:45.870 20144 20144 I yoyo    : DemoGLSurfaceView: CREATED
02-15 12:20:45.881 20144 20144 I yoyo    : Setting vis flags to 5894
02-15 12:20:45.881 20144 20144 I yoyo    : Registering receiver to receive bluetooth device connection messages
02-15 12:20:45.883 20144 20144 I yoyo    : !!!!!!! Using frame count timing if possible...
02-15 12:20:45.886 20144 20144 I yoyo    : onStart
02-15 12:20:45.900 20144 20144 I yoyo    : onResume
02-15 12:20:45.903 20144 20144 I yoyo    : Setting vis flags to 5894
02-15 12:20:45.937 20144 20144 I yoyo    : googleplayservices extension onResume called. Signed in on pause: false. Signed in now: false
02-15 12:20:46.058 20144 20144 I yoyo    : [VK] SetInputString. Length: 1. New string: ��
02-15 12:20:46.261 20144 20167 I yoyo    : chooseConfig
02-15 12:20:46.292 20144 20167 I yoyo    : OpenGL ES Extensions : GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_half_float GL_OES_framebuffer_object GL_OES_rgb8_rgba8 GL_OES_compressed_ETC1_RGB8_texture GL_AMD_compressed_ATC_texture GL_KHR_texture_compression_astc_ldr GL_OES_texture_npot GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_OES_texture_3D GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_QCOM_alpha_test GL_OES_depth24 GL_OES_packed_depth_stencil GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_EXT_sRGB GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_EXT_texture_type_2_10_10_10_REV GL_EXT_texture_sRGB_decode GL_OES_element_index_uint GL_EXT_copy_image GL_EXT_geometry_shader GL_EXT_tessellation_shader GL_OES_texture_stencil8 GL_EXT_shader_io_blocks GL_OES_shader_image_atomic GL_OES_sample_variables GL_EXT_texture_border_clamp GL_EXT_multisampled_render_to_texture GL_EXT_multisa
mpled_render_to_texture2 GL_OES_shader_multisample_interpolation GL_EXT_texture_cube_map_array GL_EXT_draw_buffers_indexed GL_EXT_gpu_shader5 GL_EXT_robustness GL_EXT_texture_buffer GL_OES_texture_storage_multisample_2d_array GL_OES_sample_shading GL_OES_get_program_binary GL_EXT_debug_label GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_QCOM_tiled_rendering GL_ANDROID_extension_pack_es31a GL_EXT_primitive_bounding_box GL_OES_standard_derivatives GL_OES_vertex_array_object GL_EXT_disjoint_timer_query GL_KHR_debug GL_EXT_YUV_target GL_EXT_sRGB_write_control GL_EXT_texture_norm16 GL_EXT_discard_framebuffer GL_OES_surfaceless_context GL_OVR_multiview GL_OVR_multiview2 GL_EXT_texture_sRGB_R8 GL_ARB_texture_barrier GL_KHR_no_error GL_EXT_debug_marker GL_OES_EGL_image_external_essl3 GL_OVR_multiview_multisampled_render_to_texture GL_EXT_buffer_storage GL_EXT_blit_framebuffer_params GL_EXT_shader_non_constant_global_initializers GL_QCOM_shader_framebuffer_fetch_noncoherent
02-15 12:20:46.292 20144 20167 I yoyo    : Device supports 32bit display formats
02-15 12:20:46.299 20144 20171 I Ads     : App measurement initialized, version: 38002
02-15 12:20:46.299 20144 20171 I Ads     : To enable debug logging run: adb shell setprop log.tag.FA VERBOSE
02-15 12:20:46.300 20144 20167 I yoyo    : 16 bit colour depth forced
02-15 12:20:46.302 20144 20167 I yoyo    : Trying EGL config : EGLConfig 3: rgba=5650 depth=24 stencil=8 EGL_ALPHA_MASK_SIZE=0 EGL_BUFFER_SIZE=16 EGL_COLOR_BUFFER_TYPE=12430 EGL_CONFIG_CAVEAT=0x3038 EGL_LEVEL=0 EGL_LUMINANCE_SIZE=0 EGL_MAX_PBUFFER_WIDTH=16384 EGL_MAX_PBUFFER_HEIGHT=16384 EGL_MAX_PBUFFER_PIXELS=268435456 EGL_MAX_PBUFFER_HEIGHT=16384 EGL_MAX_PBUFFER_HEIGHT=16384 EGL_NATIVE_RENDERABLE=1 EGL_NATIVE_VISUAL_TYPE=-1 EGL_RENDERABLE_TYPE=69 EGL_SAMPLE_BUFFERS=0 EGL_SAMPLES=0 EGL_SURFACE_TYPE=5541 EGL_TRANSPARENT_TYPE=12344 EGL_TRANSPARENT_RED_VALUE=-1 EGL_TRANSPARENT_GREEN_VALUE=-1 EGL_TRANSPARENT_BLUE_VALUE=-1
02-15 12:20:46.321 20144 20167 I yoyo    : Selected EGL config working
02-15 12:20:46.344 20144 20167 I yoyo    : Renderer instance is gl2.0, framebuffer object is: 0
02-15 12:20:46.344 20144 20167 I yoyo    : APK File Path :: /data/app/com.theinfamousmrmeow.chronoplane-7rX6z6mbAz2JHefisOMEZw==/base.apk
02-15 12:20:46.345 20144 20167 I yoyo    : OpenGL ES-2.0 is supported: 196610
02-15 12:20:46.403 20144 20167 I yoyo    : onSurfaceChanged :: width=1080 height=1920
02-15 12:20:46.403 20144 20167 I yoyo    : State->Splash
02-15 12:20:46.434 20144 20167 I yoyo    : State->Splash    time: 1613409646434
02-15 12:20:46.435 20144 20167 I yoyo    : State->Splash endTime: 1613409646434
02-15 12:20:46.435 20144 20167 I yoyo    : State->InitRunner
02-15 12:20:46.649 20144 20144 I yoyo    : onWindowFocusChanged(true|false)
02-15 12:20:46.653 20144 20144 I yoyo    : Setting vis flags to 5894
02-15 12:20:46.669 20144 20144 I yoyo    : Setting vis flags to 5894
02-15 12:20:46.673 20144 20144 I yoyo    : Setting vis flags to 5894
02-15 12:20:46.685 20144 20144 I yoyo    : Setting vis flags to 5894
02-15 12:20:46.686 20144 20144 D yoyo    : doSetup called - /data/app/com.theinfamousmrmeow.chronoplane-7rX6z6mbAz2JHefisOMEZw==/base.apk
02-15 12:20:46.686 20144 20144 I yoyo    : checking 5 extensions for ad interface
02-15 12:20:46.686 20144 20144 I yoyo    : RestrictOrientation setting from YYPrefs
02-15 12:20:46.686 20144 20144 I yoyo    : RestrictOrientation("false", "true"false"false")
02-15 12:20:46.743 20144 20167 I yoyo    : Sleepmargin: 0
02-15 12:20:46.802 20144 20167 I yoyo    : android.software.leanback = 0
02-15 12:20:46.916 20144 20167 I yoyo    : Attempting to set gamepadcount to 0
02-15 12:20:47.157 20144 20144 I yoyo    : Setting vis flags to 5894
02-15 12:20:47.175 20144 20144 I yoyo    : Setting vis flags to 5894
02-15 12:20:47.739 20144 20144 I yoyo    : [VK] SetInputString. Length: 0. New string:
02-15 12:20:47.835 20144 20167 I yoyo    : Collision Event time(microsecs)=48
02-15 12:20:48.302 20144 20144 I yoyo    : [VK] SetInputString. Length: 0. New string:
02-15 12:20:50.590 20144 20167 I Ads     : Updating ad debug logging enablement.
02-15 12:20:50.630 20144 20206 W Ads     : Update ad debug logging enablement as false
02-15 12:20:50.698 20144 20167 I yoyo    : Signing-in to Google Play Services
02-15 12:20:50.703 20144 20167 I yoyo    : AchievementLogin()
02-15 12:20:50.706 20144 20167 I yoyo    : arena    =0(0x00000000)
02-15 12:20:50.706 20144 20167 I yoyo    : ordblks  =0(0x00000000)
02-15 12:20:50.706 20144 20167 I yoyo    : smblks   =0(0x00000000)
02-15 12:20:50.706 20144 20167 I yoyo    : hblks    =0(0x00000000)
02-15 12:20:50.706 20144 20167 I yoyo    : hblkhd   =44564480(0x02a80000)
02-15 12:20:50.706 20144 20167 I yoyo    : usmblks  =44564480(0x02a80000)
02-15 12:20:50.707 20144 20167 I yoyo    : fsmblks  =0(0x00000000)
02-15 12:20:50.707 20144 20167 I yoyo    : uordblks =38070944(0x0244eaa0)
02-15 12:20:50.707 20144 20167 I yoyo    : fordblks =6493536(0x00631560)
02-15 12:20:50.707 20144 20167 I yoyo    : keepcost =0(0x00000000)
02-15 12:20:50.707 20144 20167 I yoyo    : Total memory used = 12020794(0x00b76c3a) bytes
02-15 12:20:50.707 20144 20167 I yoyo    : **********************************.
02-15 12:20:50.707 20144 20167 I yoyo    : Entering main loop.
02-15 12:20:50.707 20144 20167 I yoyo    : **********************************.
02-15 12:20:50.710 20144 20167 I yoyo    : MANUFACTURER = LGE
02-15 12:20:50.964 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:51.073 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:51.182 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:51.399 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:51.507 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:51.616 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:51.724 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:51.833 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:51.928 20144 20167 I yoyo    : GAMEPAD: Enumeration complete
02-15 12:20:52.031 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:52.139 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:52.248 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:52.356 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:52.465 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:52.573 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:52.685 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:52.793 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:52.902 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:53.010 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:53.119 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:53.227 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:53.336 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:53.444 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:53.553 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:53.661 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:53.770 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:53.886 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:53.994 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:54.103 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:54.211 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:54.320 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:54.428 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:54.537 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:54.645 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:54.754 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:54.862 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:54.971 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:55.083 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:55.192 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:55.300 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:55.409 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:55.517 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:55.626 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:55.734 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:55.843 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:55.952 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:56.061 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:56.169 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:56.303 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:56.628 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:56.737 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:57.062 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:57.171 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:57.279 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:57.374 20144 20144 I Ads     : This request is sent from a test device.
02-15 12:20:57.388 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:57.496 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:57.605 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:57.704 20144 20333 W Ads     : Invoke Firebase method getInstance error.
02-15 12:20:57.704 20144 20333 W Ads     : The Google Mobile Ads SDK will not integrate with Firebase. Admob/Firebase integration requires the latest Firebase SDK jar, but Firebase SDK is either missing or out of date
02-15 12:20:57.721 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:57.830 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:57.944 20144 20144 I Ads     : This request is sent from a test device.
02-15 12:20:57.945 20144 20144 I yoyo    : Signing in..
02-15 12:20:58.033 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:58.142 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:58.301 20144 20167 I yoyo    : vsync timeout...
02-15 12:20:58.357 20144 20167 I yoyo    : !!!!! GOOGLE PLAY CONNECTED
02-15 12:20:58.387 20144 20167 I yoyo    : NOADS added: 0
02-15 12:20:58.528 20144 20167 I yoyo    : !!!!! RECEIVED PRODUCT DATA RESPONSE
02-15 12:20:58.544 20144 20167 I yoyo    : Product List size = 0
02-15 12:20:59.754  6613 20377 I Ads     : SDK version: afma-sdk-a-v204204999.15000000.1
02-15 12:20:59.756  6613 20377 I Ads     : HTTP timeout: 60000 milliseconds.
02-15 12:20:59.901 20144 20144 I yoyo    : Silent sign in failed, attempting normal sign in.. Current Status 0.0
02-15 12:20:59.984 20144 20144 I yoyo    : onPause
02-15 12:20:59.992 20144 20144 I yoyo    : Pausing the Runner
02-15 12:21:00.050 20144 20167 I yoyo    : vsync timeout...
02-15 12:21:00.187 20144 20144 I yoyo    : onWindowFocusChanged(false|false)
02-15 12:21:00.190 20144 20144 I yoyo    : Setting vis flags to 5894
02-15 12:21:00.282 20144 20144 I yoyo    : Setting vis flags to 5894
02-15 12:21:00.336 20144 20144 I yoyo    : Setting vis flags to 5894
02-15 12:21:00.694 20144 20144 I yoyo    : Setting vis flags to 5894
02-15 12:21:00.844 20144 20144 I yoyo    : Setting vis flags to 5894
02-15 12:21:01.788 20144 20144 I yoyo    : Setting vis flags to 5894
02-15 12:21:02.292 20144 20144 I yoyo    : Setting vis flags to 5894
02-15 12:21:03.105 20144 20144 I yoyo    : onAdLoaded called
02-15 12:21:25.443 20144 20144 I yoyo    : onStop
02-15 12:21:26.797 20144 20144 I yoyo    : onRestart
02-15 12:21:26.833 20144 20144 I yoyo    : onStart
 
Last edited:
Got it resolved in the end.

It looks like a series of bugs, menus with misinformation/conflicting information, and seemingly just chaos on Google Cloud Console, I assume because they're still moving it all around.

I had to move my OAuth Consent Screen to "In Production" from "testing", and do the "App Verification" process. The prompts and pop ups say a bunch of stuff that is required that are just not true at all, and the prompts will act like you are trying to access Sensitive Scopes even if you aren't.
The final prompt will tell you the verification process will take 6 Weeks, but it instantly worked.

I was using it in "Testing" mode before, with google users that were added to the testing group, but it didn't do anything until I published and did verification.
 
Top