cocos creator 2.4.9 提交google play商店 crash

  • Creator 版本: 2.4.9

  • 目标平台: Android,google play商店

  • 重现方式:
    1.将应用通过 android studio 签名打包。

  1. 登录到 Google Play 商店控制台
  2. 转到“测试”->“内部测试”
  3. 创建一个新轨道,然后创建一个新版本,指定国家/地区和测试人员
  4. 上传 appbundle -> ‘Save’ -> ‘Review Release’ -> ‘Start rollout to Internal testing’
  5. 等待1小时左右完成测试,转到“测试”->“发布前报告”->“概述”。
  • 首个报错:
    07-15 0e(1908): 4:06:53.968: I/ZygotProcess 5940 exited due to signal (9)
    07-15 04:06:53.969: A/libc(6616): Fatal signal 4 (SIGILL), code -6 (SI_TKILL) in tid 7683 (GLThread 389), pid 6616 (aw.sudoku.match)
    07-15 04:06:53.983: D/BoundBrokerSvc(2719): onBind: Intent { act=com.google.android.gms.appset.service.START dat=chimera-action:com.google.android.gms.appset.service.START cmp=com.google.android.gms/.chimera.GmsApiService }
    07-15 04:06:53.983: D/BoundBrokerSvc(2719): Loading bound service for intent: Intent { act=com.google.android.gms.appset.service.START dat=chimera-action:com.google.android.gms.appset.service.START cmp=com.google.android.gms/.chimera.GmsApiService }
    07-15 04:06:53.991: W/libprocessgroup(2070): kill(-5940, 9) failed: No such process
    07-15 04:06:53.991: I/libprocessgroup(2070): Successfully killed process cgroup uid 10045 pid 5940 in 47ms
    07-15 04:06:54.052: I/Icing(2719): IndexChimeraService.getServiceInterface callingPackage=com.google.android.gms componentName=null serviceId=30
    07-15 04:06:54.084: E/memtrack(2070): Couldn’t load memtrack module
    07-15 04:06:54.084: W/android.os.Debug(2070): failed to get memory consumption info: -1
    07-15 04:06:54.122: W/Icing(2719): No valid account for uploading user actions
    07-15 04:06:54.157: I/Icing(2719): Usage reports ok 1, Failed Usage reports 0, indexed 0, rejected 0
    07-15 04:06:54.178: I/crash_dump32(8937): obtaining output fd from tombstoned, type: kDebuggerdTombstone
    07-15 04:06:54.180: I//system/bin/tombstoned(1974): received crash request for pid 7683
    07-15 04:06:54.181: I/crash_dump32(8937): performing dump of process 6616 (target tid = 7683)
    07-15 04:06:54.197: A/DEBUG(8937): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    07-15 04:06:54.197: A/DEBUG(8937): Build fingerprint: ‘generic/gce_x86_phone/gce_x86:9/PGR1.190916.001/5877764:userdebug/test-keys’
    07-15 04:06:54.197: A/DEBUG(8937): Revision: ‘0’
    07-15 04:06:54.197: A/DEBUG(8937): ABI: ‘x86’
    07-15 04:06:54.197: A/DEBUG(8937): pid: 6616, tid: 7683, name: GLThread 389 >>> com.wood.blockpuzzlegame.jigsaw.sudoku.match <<<
    07-15 04:06:54.197: A/DEBUG(8937): signal 4 (SIGILL), code -6 (SI_TKILL), fault addr --------
    07-15 04:06:54.197: A/DEBUG(8937): eax 00000000 ebx 000019d8 ecx 00001e03 edx 00000004
    07-15 04:06:54.197: A/DEBUG(8937): edi 00000004 esi 000019d8
    07-15 04:06:54.197: A/DEBUG(8937): ebp c60fe8a8 esp c60fe85c eip efbe5be9
    07-15 04:06:54.219: A/DEBUG(8937): backtrace:
    07-15 04:06:54.219: A/DEBUG(8937): #00 pc 00000be9 [vdso:efbe5000] (__kernel_vsyscall+9)
    07-15 04:06:54.219: A/DEBUG(8937): #01 pc 000789ec /system/lib/libc.so (tgkill+28)
    07-15 04:06:54.219: A/DEBUG(8937): #02 pc 0002e3e4 /system/lib/libc.so (raise+68)
    07-15 04:06:54.219: A/DEBUG(8937): #03 pc 00077842 /system/lib/libndk_translation.so (ndk_translation::UndefinedInsn(ndk_translation::ProcessState*, char const*)+114)
    07-15 04:06:54.219: A/DEBUG(8937): #04 pc 00099b0c /system/lib/libndk_translation.so (ndk_translation::InsnInterpreter::CallInterp(unsigned int, void const*, void const*)+44)
    07-15 04:06:54.219: A/DEBUG(8937): #05 pc 000d6ad9 /system/lib/libndk_translation.so (ndk_translation::GenReportInsnNotImplHelper(ndk_translation::ArmSemanticsDecoderHooks*, unsigned int, char const*)+73)
    07-15 04:06:54.219: A/DEBUG(8937): #06 pc 000a2bdb /system/lib/libndk_translation.so (ndk_translation::SemanticsDecoder::UNDEFINED(ndk_translation::UNDEFINED_Args const&)+43)
    07-15 04:06:54.219: A/DEBUG(8937): #07 pc 000eb4e1 /system/lib/libndk_translation.so (ndk_translation::ArmDecoder::TranslateArmInsn(unsigned int const*)+81105)
    07-15 04:06:54.219: A/DEBUG(8937): #08 pc 0009b36e /system/lib/libndk_translation.so (ndk_translation::(anonymous namespace)::DecodeInsn(unsigned int, ndk_translation::(anonymous namespace)::ArmInterpreter*, ndk_translation::ProcessState*, ndk_translation::ArmDecoder*)+78)
    07-15 04:06:54.219: A/DEBUG(8937): #09 pc 0009b5b7 /system/lib/libndk_translation.so (ndk_translation::InterpretTrace(ndk_translation::ProcessState*)+327)
    07-15 04:06:54.219: A/DEBUG(8937): #10 pc 00079f0d /system/lib/libndk_translation.so (ndk_translation_HandleNotTranslated+285)
    07-15 04:06:54.219: A/DEBUG(8937): #11 pc 0018db57 /system/lib/libndk_translation.so
    07-15 04:06:54.275: D/StrictMode(6616): StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Landroid/view/WindowManagerGlobal;->getInstance()Landroid/view/WindowManagerGlobal;
    07-15 04:06:54.275: D/StrictMode(6616): at android.os.StrictMode.lambda$static$1(StrictMode.java:428)
    07-15 04:06:54.275: D/StrictMode(6616): at android.os.-$$Lambda$StrictMode$lu9ekkHJ2HMz0jd3F8K8MnhenxQ.accept(Unknown Source:2)
    07-15 04:06:54.275: D/StrictMode(6616): at java.lang.Class.getDeclaredMethodInternal(Native Method)
    07-15 04:06:54.275: D/StrictMode(6616): at java.lang.Class.getPublicMethodRecursive(Class.java:2075)
    07-15 04:06:54.275: D/StrictMode(6616): at java.lang.Class.getMethod(Class.java:2063)
    07-15 04:06:54.275: D/StrictMode(6616): at java.lang.Class.getMethod(Class.java:1690)
    07-15 04:06:54.275: D/StrictMode(6616): at androidx.test.espresso.base.RootsOracle.initialize(RootsOracle.java:2)
    07-15 04:06:54.275: D/StrictMode(6616): at androidx.test.espresso.base.RootsOracle.listActiveRoots(RootsOracle.java:2)
    07-15 04:06:54.275: D/StrictMode(6616): at androidx.test.espresso.base.RootViewPicker$RootResultFetcher.fetch(RootViewPicker.java:1)
    07-15 04:06:54.275: D/StrictMode(6616): at androidx.test.espresso.base.RootViewPicker.pickARoot(RootViewPicker.java:2)
    07-15 04:06:54.275: D/StrictMode(6616): at androidx.test.espresso.base.RootViewPicker.pickRootView(RootViewPicker.java:1)
    07-15 04:06:54.275: D/StrictMode(6616): at androidx.test.espresso.base.RootViewPicker.get(RootViewPicker.java:4)
    07-15 04:06:54.275: D/StrictMode(6616): at androidx.test.espresso.ViewInteractionModule.provideRootView(ViewInteractionModule.java:1)
    07-15 04:06:54.275: D/StrictMode(6616): at androidx.test.espresso.ViewInteractionModule_ProvideRootViewFactory.provideRootView(ViewInteractionModule_ProvideRootViewFactory.java:1)
    07-15 04:06:54.275: D/StrictMode(6616): at androidx.test.espresso.ViewInteractionModule_ProvideRootViewFactory.get(ViewInteractionModule_ProvideRootViewFactory.java:1)
    07-15 04:06:54.275: D/StrictMode(6616): at androidx.test.espresso.ViewInteractionModule_ProvideRootViewFactory.get(ViewInteractionModule_ProvideRootViewFactory.java:2)
    07-15 04:06:54.275: D/StrictMode(6616): at androidx.test.espresso.base.ViewFinderImpl.getView(ViewFinderImpl.java:3)
    07-15 04:06:54.275: D/StrictMode(6616): at androidx.test.espresso.ViewInteraction.doPerform(ViewInteraction.java:4)
    07-15 04:06:54.275: D/StrictMode(6616): at androidx.test.espresso.ViewInteraction.-$$Nest$mdoPerform(Unknown Source:0)
    07-15 04:06:54.275: D/StrictMode(6616): at androidx.test.espresso.ViewInteraction$1.call(ViewInteraction.java:6)
    07-15 04:06:54.275: D/StrictMode(6616): at androidx.test.espresso.ViewInteraction$1.call(ViewInteraction.java:1)
    07-15 04:06:54.275: D/StrictMode(6616): at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    07-15 04:06:54.275: D/StrictMode(6616): at android.os.Handler.handleCallback(Handler.java:873)
    07-15 04:06:54.275: D/StrictMode(6616): at android.os.Handler.dispatchMessage(Handler.java:99)
    07-15 04:06:54.275: D/StrictMode(6616): at android.os.Looper.loop(Looper.java:193)
    07-15 04:06:54.275: D/StrictMode(6616): at android.app.ActivityThread.main(ActivityThread.java:6669)
    07-15 04:06:54.275: D/StrictMode(6616): at java.lang.reflect.Method.invoke(Native Method)
    07-15 04:06:54.275: D/StrictMode(6616): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
    07-15 04:06:54.275: D/StrictMode(6616): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
    07-15 04:06:54.275: D/StrictMode(6616): StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Landroid/view/WindowManagerGlobal;->mViews:Ljava/util/ArrayList;
    07-15 04:06:54.275: D/StrictMode(6616): at android.os.StrictMode.lambda$static$1(StrictMode.java:428)
    07-15 04:06:54.275: D/StrictMode(6616): at android.os.-$$Lambda$StrictMode$lu9ekkHJ2HMz0jd3F8K8MnhenxQ.accept(Unknown Source:2)
    07-15 04:06:54.275: D/StrictMode(6616): at java.lang.Class.getDeclaredField(Native Method)
    07-15 04:06:54.275: D/StrictMode(6616): at androidx.test.espresso.base.RootsOracle.initialize(RootsOracle.java:4)
    07-15 04:06:54.275: D/StrictMode(6616): at androidx.test.espresso.base.RootsOracle.listActiveRoots(RootsOracle.java:2)
    07-15 04:06:54.275: D/StrictMode(6616): at androidx.test.espresso.base.RootViewPicker$RootResultFetcher.fetch(RootViewPicker.java:1)
    07-15 04:06:54.275: D/StrictMode(6616): at androidx.test.espresso.base.RootViewPicker.pickARoot(RootViewPicker.java:2)
    07-15 04:06:54.275: D/StrictMode(6616): at androidx.test.espresso.base.RootViewPicker.pickRootView(RootViewPicker.java:1)
    07-15 04:06:54.275: D/StrictMode(6616): at androidx.test.espresso.base.RootViewPicker.get(RootViewPicker.java:4)
    07-15 04:06:54.275: D/StrictMode(6616): at androidx.test.espresso.ViewInteractionModule.provideRootView(ViewInteractionModule.java:1)
    07-15 04:06:54.275: D/StrictMode(6616): at androidx.test.espresso.ViewInteractionModule_ProvideRootViewFactory.provideRootView(ViewInteractionModule_ProvideRootViewFactory.java:1)
    07-15 04:06:54.275: D/StrictMode(6616): at androidx.test.espresso.ViewInteractionModule_ProvideRootViewFactory.get(ViewInteractionModule_ProvideRootViewFactory.java:1)
    07-15 04:06:54.275: D/StrictMode(6616): at androidx.test.espresso.ViewInteractionModule_ProvideRootViewFactory.get(ViewInteractionModule_ProvideRootViewFactory.java:2)
    07-15 04:06:54.275: D/StrictMode(6616): at androidx.test.espresso.base.ViewFinderImpl.getView(ViewFinderImpl.java:3)
    07-15 04:06:54.275: D/StrictMode(6616): at androidx.test.espresso.ViewInteraction.doPerform(ViewInteraction.java:4)
    07-15 04:06:54.275: D/StrictMode(6616): at androidx.test.espresso.ViewInteraction.-$$Nest$mdoPerform(Unknown Source:0)
    07-15 04:06:54.275: D/StrictMode(6616): at androidx.test.espresso.ViewInteraction$1.call(ViewInteraction.java:6)
    07-15 04:06:54.275: D/StrictMode(6616): at androidx.test.espresso.ViewInteraction$1.call(ViewInteraction.java:1)
    07-15 04:06:54.275: D/StrictMode(6616): at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    07-15 04:06:54.275: D/StrictMode(6616): at android.os.Handler.handleCallback(Handler.java:873)
    07-15 04:06:54.275: D/StrictMode(6616): at android.os.Handler.dispatchMessage(Handler.java:99)
    07-15 04:06:54.275: D/StrictMode(6616): at android.os.Looper.loop(Looper.java:193)
    07-15 04:06:54.275: D/StrictMode(6616): at android.app.ActivityThread.main(ActivityThread.java:6669)
    07-15 04:06:54.275: D/StrictMode(6616): at java.lang.reflect.Method.invoke(Native Method)
    07-15 04:06:54.275: D/StrictMode(6616): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
    07-15 04:06:54.275: D/StrictMode(6616): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
    07-15 04:06:54.276: D/StrictMode(6616): StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Landroid/view/WindowManagerGlobal;->mParams:Ljava/util/ArrayList;
    07-15 04:06:54.276: D/StrictMode(6616): at android.os.StrictMode.lambda$static$1(StrictMode.java:428)
    07-15 04:06:54.276: D/StrictMode(6616): at android.os.-$$Lambda$StrictMode$lu9ekkHJ2HMz0jd3F8K8MnhenxQ.accept(Unknown Source:2)
    07-15 04:06:54.276: D/StrictMode(6616): at java.lang.Class.getDeclaredField(Native Method)
    07-15 04:06:54.276: D/StrictMode(6616): at androidx.test.espresso.base.RootsOracle.initialize(RootsOracle.java:6)
    07-15 04:06:54.276: D/StrictMode(6616): at androidx.test.espresso.base.RootsOracle.listActiveRoots(RootsOracle.java:2)
    07-15 04:06:54.276: D/StrictMode(6616): at androidx.test.espresso.base.RootViewPicker$RootResultFetcher.fetch(RootViewPicker.java:1)
    07-15 04:06:54.276: D/StrictMode(6616): at androidx.test.espresso.base.RootViewPicker.pickARoot(RootViewPicker.java:2)
    07-15 04:06:54.276: D/StrictMode(6616): at androidx.test.espresso.base.RootViewPicker.pickRootView(RootViewPicker.java:1)
    07-15 04:06:54.276: D/StrictMode(6616): at androidx.test.espresso.base.RootViewPicker.get(RootViewPicker.java:4)
    07-15 04:06:54.276: D/StrictMode(6616): at androidx.test.espresso.ViewInteractionModule.provideRootView(ViewInteractionModule.java:1)
    07-15 04:06:54.276: D/StrictMode(6616): at androidx.test.espresso.ViewInteractionModule_ProvideRootViewFactory.provideRootView(ViewInteractionModule_ProvideRootViewFactory.java:1)
    07-15 04:06:54.276: D/StrictMode(6616): at androidx.test.espresso.ViewInteractionModule_ProvideRootViewFactory.get(ViewInteractionModule_ProvideRootViewFactory.java:1)
    07-15 04:06:54.276: D/StrictMode(6616): at androidx.test.espresso.ViewInteractionModule_ProvideRootViewFactory.get(ViewInteractionModule_ProvideRootViewFactory.java:2)
    07-15 04:06:54.276: D/StrictMode(6616): at androidx.test.espresso.base.ViewFinderImpl.getView(ViewFinderImpl.java:3)
    07-15 04:06:54.276: D/StrictMode(6616): at androidx.test.espresso.ViewInteraction.doPerform(ViewInteraction.java:4)
    07-15 04:06:54.276: D/StrictMode(6616): at androidx.test.espresso.ViewInteraction.-$$Nest$mdoPerform(Unknown Source:0)
    07-15 04:06:54.276: D/StrictMode(6616): at androidx.test.espresso.ViewInteraction$1.call(ViewInteraction.java:6)
    07-15 04:06:54.276: D/StrictMode(6616): at androidx.test.espresso.ViewInteraction$1.call(ViewInteraction.java:1)
    07-15 04:06:54.276: D/StrictMode(6616): at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    07-15 04:06:54.276: D/StrictMode(6616): at android.os.Handler.handleCallback(Handler.java:873)
    07-15 04:06:54.276: D/StrictMode(6616): at android.os.Handler.dispatchMessage(Handler.java:99)
    07-15 04:06:54.276: D/StrictMode(6616): at android.os.Looper.loop(Looper.java:193)
    07-15 04:06:54.276: D/StrictMode(6616): at android.app.ActivityThread.main(ActivityThread.java:6669)
    07-15 04:06:54.276: D/StrictMode(6616): at java.lang.reflect.Method.invoke(Native Method)
    07-15 04:06:54.276: D/StrictMode(6616): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
    07-15 04:06:54.276: D/StrictMode(6616): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)

对应手机型号:

在论坛上看到1个月前也有小伙伴提交了类似问题。


说明这很有可能是一个共性问题。

在google上搜索,发现 flutter引擎也有类似的问题:这是网址:https://github.com/flutter/flutter/issues/105903
他们已经修复了,希望cocos creator 也能尽快修复。

1赞

07-15 04:06:54.197: A/DEBUG(8937): ABI: ‘x86’
跟你一样的 测试问题. 但是我的确没有打包 X86的支持.所以没有在意. 你可以去 firebase 上测试.
持续关注中,

根据描述,虚拟机的pixel 2 属于x86 架构,若要在上面测试,需要编译 x86 的so。用x86的架构,目前测试正常。

我去买了一台真机… 测试没问题…

感谢各位的答复,已经解决。