Native method - com.google.androidgamesdk.GameActivity.onPauseNative
#00 pc 0x00000000000870d0 /apex/com.android.runtime/lib64/bionic/libc.so (syscall+32)
#01 pc 0x000000000008adb8 /apex/com.android.runtime/lib64/bionic/libc.so (__futex_wait_ex(void volatile*, bool, int, bool, timespec const*)+144)
此原生同步例程正阻塞主线程,进而导致 ANR
#02 pc 0x00000000000ebd70 /apex/com.android.runtime/lib64/bionic/libc.so (pthread_cond_timedwait+120)
#03 pc 0x0000000000242a30 /data/app/~~MDucxvv6ROMibouX-dvJ5A==/com.qihecm.rummy-vG_LUFBcv4enNkTEukG40Q==/split_config.arm64_v8a.apk!libcocos.so
at com.google.androidgamesdk.GameActivity.onPauseNative (Native method)
at com.google.androidgamesdk.GameActivity.onPause
at com.cocos.lib.CocosActivity.onPause
at com.cocos.game.AppActivity.onPause (AppActivity.java)
at android.app.Activity.performPause (Activity.java:8343)
at android.app.Instrumentation.callActivityOnPause (Instrumentation.java:1510)
at android.app.ActivityThread.performPauseActivityIfNeeded (ActivityThread.java:4899)
at android.app.ActivityThread.performPauseActivity (ActivityThread.java:4860)
at android.app.ActivityThread.handlePauseActivity (ActivityThread.java:4808)
at android.app.servertransaction.PauseActivityItem.execute (PauseActivityItem.java:46)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState (TransactionExecutor.java:176)
at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:97)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2191)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loop (Looper.java:236)
at android.app.ActivityThread.main (ActivityThread.java:8049)
at java.lang.reflect.Method.invoke (Native method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:620)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1011)
3.6.3游戏原生的com.google.androidgamesdk.GameActivity.onPauseNative崩溃!!!有谁遇到没啊?