Create 2.4.8 在部分 Android9.0 上启动奔溃

机型:

06-07 03:42:17.861: A/DEBUG(10076): Build fingerprint: ‘generic/gce_x86_phone/gce_x86:9/PGR1.190916.001/5877764:userdebug/test-keys’
06-07 03:42:17.861: A/DEBUG(10076): Revision: ‘0’
06-07 03:42:17.861: A/DEBUG(10076): ABI: ‘x86’
06-07 03:42:17.861: A/DEBUG(10076): pid: 7779, tid: 9017, name: GLThread 474 >>> com.joyparty.art <<<
06-07 03:42:17.861: A/DEBUG(10076): signal 4 (SIGILL), code -6 (SI_TKILL), fault addr --------
06-07 03:42:17.861: A/DEBUG(10076): eax 00000000 ebx 00001e63 ecx 00002339 edx 00000004
06-07 03:42:17.861: A/DEBUG(10076): edi 00000004 esi 00001e63
06-07 03:42:17.861: A/DEBUG(10076): ebp c09188a8 esp c091885c eip ee380be9
06-07 03:42:17.893: A/DEBUG(10076): backtrace:
06-07 03:42:17.893: A/DEBUG(10076): #00 pc 00000be9 [vdso:ee380000] (__kernel_vsyscall+9)
06-07 03:42:17.893: A/DEBUG(10076): #01 pc 000789ec /system/lib/libc.so (tgkill+28)
06-07 03:42:17.893: A/DEBUG(10076): #02 pc 0002e3e4 /system/lib/libc.so (raise+68)
06-07 03:42:17.893: A/DEBUG(10076): #03 pc 00077842 /system/lib/libndk_translation.so (ndk_translation::UndefinedInsn(ndk_translation::ProcessState*, char const*)+114)
06-07 03:42:17.893: A/DEBUG(10076): #04 pc 00099b0c /system/lib/libndk_translation.so (ndk_translation::InsnInterpreter::CallInterp(unsigned int, void const*, void const*)+44)
06-07 03:42:17.893: A/DEBUG(10076): #05 pc 000d6ad9 /system/lib/libndk_translation.so (ndk_translation::GenReportInsnNotImplHelper(ndk_translation::ArmSemanticsDecoderHooks*, unsigned int, char const*)+73)
06-07 03:42:17.893: A/DEBUG(10076): #06 pc 000a2bdb /system/lib/libndk_translation.so (ndk_translation::SemanticsDecoder::UNDEFINED(ndk_translation::UNDEFINED_Args const&)+43)
06-07 03:42:17.893: A/DEBUG(10076): #07 pc 000eb4e1 /system/lib/libndk_translation.so (ndk_translation::ArmDecoder::TranslateArmInsn(unsigned int const*)+81105)
06-07 03:42:17.893: A/DEBUG(10076): #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)
06-07 03:42:17.893: A/DEBUG(10076): #09 pc 0009b5b7 /system/lib/libndk_translation.so (ndk_translation::InterpretTrace(ndk_translation::ProcessState*)+327)
06-07 03:42:17.893: A/DEBUG(10076): #10 pc 00079f0d /system/lib/libndk_translation.so (ndk_translation_HandleNotTranslated+285)
06-07 03:42:17.893: A/DEBUG(10076): #11 pc 0018db57 /system/lib/libndk_translation.so
06-07 03:42:17.969: D/StrictMode(7779): StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Landroid/view/WindowManagerGlobal;->getInstance()Landroid/view/WindowManagerGlobal;
06-07 03:42:17.969: D/StrictMode(7779): at android.os.StrictMode.lambda$static$1(StrictMode.java:428)
06-07 03:42:17.969: D/StrictMode(7779): at android.os.-$$Lambda$StrictMode$lu9ekkHJ2HMz0jd3F8K8MnhenxQ.accept(Unknown Source:2)
06-07 03:42:17.969: D/StrictMode(7779): at java.lang.Class.getDeclaredMethodInternal(Native Method)
06-07 03:42:17.969: D/StrictMode(7779): at java.lang.Class.getPublicMethodRecursive(Class.java:2075)
06-07 03:42:17.969: D/StrictMode(7779): at java.lang.Class.getMethod(Class.java:2063)
06-07 03:42:17.969: D/StrictMode(7779): at java.lang.Class.getMethod(Class.java:1690)
06-07 03:42:17.969: D/StrictMode(7779): at androidx.test.espresso.base.RootsOracle.initialize(RootsOracle.java:2)
06-07 03:42:17.969: D/StrictMode(7779): at androidx.test.espresso.base.RootsOracle.listActiveRoots(RootsOracle.java:2)
06-07 03:42:17.969: D/StrictMode(7779): at androidx.test.espresso.base.RootViewPicker$RootResultFetcher.fetch(RootViewPicker.java:1)
06-07 03:42:17.969: D/StrictMode(7779): at androidx.test.espresso.base.RootViewPicker.pickARoot(RootViewPicker.java:2)
06-07 03:42:17.969: D/StrictMode(7779): at androidx.test.espresso.base.RootViewPicker.pickRootView(RootViewPicker.java:1)
06-07 03:42:17.969: D/StrictMode(7779): at androidx.test.espresso.base.RootViewPicker.get(RootViewPicker.java:4)
06-07 03:42:17.969: D/StrictMode(7779): at androidx.test.espresso.ViewInteractionModule.provideRootView(ViewInteractionModule.java:1)
06-07 03:42:17.969: D/StrictMode(7779): at androidx.test.espresso.ViewInteractionModule_ProvideRootViewFactory.provideRootView(ViewInteractionModule_ProvideRootViewFactory.java:1)
06-07 03:42:17.969: D/StrictMode(7779): at androidx.test.espresso.ViewInteractionModule_ProvideRootViewFactory.get(ViewInteractionModule_ProvideRootViewFactory.java:1)
06-07 03:42:17.969: D/StrictMode(7779): at androidx.test.espresso.ViewInteractionModule_ProvideRootViewFactory.get(ViewInteractionModule_ProvideRootViewFactory.java:2)
06-07 03:42:17.969: D/StrictMode(7779): at androidx.test.espresso.base.ViewFinderImpl.getView(ViewFinderImpl.java:3)
06-07 03:42:17.969: D/StrictMode(7779): at androidx.test.espresso.ViewInteraction.doPerform(ViewInteraction.java:4)
06-07 03:42:17.969: D/StrictMode(7779): at androidx.test.espresso.ViewInteraction.-$$Nest$mdoPerform(Unknown Source:0)
06-07 03:42:17.969: D/StrictMode(7779): at androidx.test.espresso.ViewInteraction$1.call(ViewInteraction.java:5)
06-07 03:42:17.969: D/StrictMode(7779): at androidx.test.espresso.ViewInteraction$1.call(ViewInteraction.java:1)
06-07 03:42:17.969: D/StrictMode(7779): at java.util.concurrent.FutureTask.run(FutureTask.java:266)
06-07 03:42:17.969: D/StrictMode(7779): at android.os.Handler.handleCallback(Handler.java:873)
06-07 03:42:17.969: D/StrictMode(7779): at android.os.Handler.dispatchMessage(Handler.java:99)
06-07 03:42:17.969: D/StrictMode(7779): at android.os.Looper.loop(Looper.java:193)
06-07 03:42:17.969: D/StrictMode(7779): at android.app.ActivityThread.main(ActivityThread.java:6669)
06-07 03:42:17.969: D/StrictMode(7779): at java.lang.reflect.Method.invoke(Native Method)
06-07 03:42:17.969: D/StrictMode(7779): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
06-07 03:42:17.969: D/StrictMode(7779): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
06-07 03:42:17.970: D/StrictMode(7779): StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Landroid/view/WindowManagerGlobal;->mViews:Ljava/util/ArrayList;
06-07 03:42:17.970: D/StrictMode(7779): at android.os.StrictMode.lambda$static$1(StrictMode.java:428)
06-07 03:42:17.970: D/StrictMode(7779): at android.os.-$$Lambda$StrictMode$lu9ekkHJ2HMz0jd3F8K8MnhenxQ.accept(Unknown Source:2)
06-07 03:42:17.970: D/StrictMode(7779): at java.lang.Class.getDeclaredField(Native Method)
06-07 03:42:17.970: D/StrictMode(7779): at androidx.test.espresso.base.RootsOracle.initialize(RootsOracle.java:4)
06-07 03:42:17.970: D/StrictMode(7779): at androidx.test.espresso.base.RootsOracle.listActiveRoots(RootsOracle.java:2)
06-07 03:42:17.970: D/StrictMode(7779): at androidx.test.espresso.base.RootViewPicker$RootResultFetcher.fetch(RootViewPicker.java:1)
06-07 03:42:17.970: D/StrictMode(7779): at androidx.test.espresso.base.RootViewPicker.pickARoot(RootViewPicker.java:2)
06-07 03:42:17.970: D/StrictMode(7779): at androidx.test.espresso.base.RootViewPicker.pickRootView(RootViewPicker.java:1)
06-07 03:42:17.970: D/StrictMode(7779): at androidx.test.espresso.base.RootViewPicker.get(RootViewPicker.java:4)
06-07 03:42:17.970: D/StrictMode(7779): at androidx.test.espresso.ViewInteractionModule.provideRootView(ViewInteractionModule.java:1)
06-07 03:42:17.970: D/StrictMode(7779): at androidx.test.espresso.ViewInteractionModule_ProvideRootViewFactory.provideRootView(ViewInteractionModule_ProvideRootViewFactory.java:1)
06-07 03:42:17.970: D/StrictMode(7779): at androidx.test.espresso.ViewInteractionModule_ProvideRootViewFactory.get(ViewInteractionModule_ProvideRootViewFactory.java:1)
06-07 03:42:17.970: D/StrictMode(7779): at androidx.test.espresso.ViewInteractionModule_ProvideRootViewFactory.get(ViewInteractionModule_ProvideRootViewFactory.java:2)
06-07 03:42:17.970: D/StrictMode(7779): at androidx.test.espresso.base.ViewFinderImpl.getView(ViewFinderImpl.java:3)
06-07 03:42:17.970: D/StrictMode(7779): at androidx.test.espresso.ViewInteraction.doPerform(ViewInteraction.java:4)
06-07 03:42:17.970: D/StrictMode(7779): at androidx.test.espresso.ViewInteraction.-$$Nest$mdoPerform(Unknown Source:0)
06-07 03:42:17.970: D/StrictMode(7779): at androidx.test.espresso.ViewInteraction$1.call(ViewInteraction.java:5)
06-07 03:42:17.970: D/StrictMode(7779): at androidx.test.espresso.ViewInteraction$1.call(ViewInteraction.java:1)
06-07 03:42:17.970: D/StrictMode(7779): at java.util.concurrent.FutureTask.run(FutureTask.java:266)
06-07 03:42:17.970: D/StrictMode(7779): at android.os.Handler.handleCallback(Handler.java:873)
06-07 03:42:17.970: D/StrictMode(7779): at android.os.Handler.dispatchMessage(Handler.java:99)
06-07 03:42:17.970: D/StrictMode(7779): at android.os.Looper.loop(Looper.java:193)
06-07 03:42:17.970: D/StrictMode(7779): at android.app.ActivityThread.main(ActivityThread.java:6669)
06-07 03:42:17.970: D/StrictMode(7779): at java.lang.reflect.Method.invoke(Native Method)
06-07 03:42:17.970: D/StrictMode(7779): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
06-07 03:42:17.970: D/StrictMode(7779): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
06-07 03:42:17.970: D/StrictMode(7779): StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Landroid/view/WindowManagerGlobal;->mParams:Ljava/util/ArrayList;
06-07 03:42:17.970: D/StrictMode(7779): at android.os.StrictMode.lambda$static$1(StrictMode.java:428)
06-07 03:42:17.970: D/StrictMode(7779): at android.os.-$$Lambda$StrictMode$lu9ekkHJ2HMz0jd3F8K8MnhenxQ.accept(Unknown Source:2)
06-07 03:42:17.970: D/StrictMode(7779): at java.lang.Class.getDeclaredField(Native Method)
06-07 03:42:17.970: D/StrictMode(7779): at androidx.test.espresso.base.RootsOracle.initialize(RootsOracle.java:6)
06-07 03:42:17.970: D/StrictMode(7779): at androidx.test.espresso.base.RootsOracle.listActiveRoots(RootsOracle.java:2)
06-07 03:42:17.970: D/StrictMode(7779): at androidx.test.espresso.base.RootViewPicker$RootResultFetcher.fetch(RootViewPicker.java:1)
06-07 03:42:17.970: D/StrictMode(7779): at androidx.test.espresso.base.RootViewPicker.pickARoot(RootViewPicker.java:2)
06-07 03:42:17.970: D/StrictMode(7779): at androidx.test.espresso.base.RootViewPicker.pickRootView(RootViewPicker.java:1)
06-07 03:42:17.970: D/StrictMode(7779): at androidx.test.espresso.base.RootViewPicker.get(RootViewPicker.java:4)
06-07 03:42:17.970: D/StrictMode(7779): at androidx.test.espresso.ViewInteractionModule.provideRootView(ViewInteractionModule.java:1)
06-07 03:42:17.970: D/StrictMode(7779): at androidx.test.espresso.ViewInteractionModule_ProvideRootViewFactory.provideRootView(ViewInteractionModule_ProvideRootViewFactory.java:1)
06-07 03:42:17.970: D/StrictMode(7779): at androidx.test.espresso.ViewInteractionModule_ProvideRootViewFactory.get(ViewInteractionModule_ProvideRootViewFactory.java:1)
06-07 03:42:17.970: D/StrictMode(7779): at androidx.test.espresso.ViewInteractionModule_ProvideRootViewFactory.get(ViewInteractionModule_ProvideRootViewFactory.java:2)
06-07 03:42:17.970: D/StrictMode(7779): at androidx.test.espresso.base.ViewFinderImpl.getView(ViewFinderImpl.java:3)
06-07 03:42:17.970: D/StrictMode(7779): at androidx.test.espresso.ViewInteraction.doPerform(ViewInteraction.java:4)
06-07 03:42:17.970: D/StrictMode(7779): at androidx.test.espresso.ViewInteraction.-$$Nest$mdoPerform(Unknown Source:0)
06-07 03:42:17.970: D/StrictMode(7779): at androidx.test.espresso.ViewInteraction$1.call(ViewInteraction.java:5)
06-07 03:42:17.970: D/StrictMode(7779): at androidx.test.espresso.ViewInteraction$1.call(ViewInteraction.java:1)
06-07 03:42:17.970: D/StrictMode(7779): at java.util.concurrent.FutureTask.run(FutureTask.java:266)
06-07 03:42:17.970: D/StrictMode(7779): at android.os.Handler.handleCallback(Handler.java:873)
06-07 03:42:17.970: D/StrictMode(7779): at android.os.Handler.dispatchMessage(Handler.java:99)
06-07 03:42:17.970: D/StrictMode(7779): at android.os.Looper.loop(Looper.java:193)
06-07 03:42:17.970: D/StrictMode(7779): at android.app.ActivityThread.main(ActivityThread.java:6669)
06-07 03:42:17.970: D/StrictMode(7779): at java.lang.reflect.Method.invoke(Native Method)
06-07 03:42:17.970: D/StrictMode(7779): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
06-07 03:42:17.970: D/StrictMode(7779): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
06-07 03:42:18.033: E/memtrack(2070): Couldn’t load memtrack module
06-07 03:42:18.033: W/android.os.Debug(2070): failed to get memory consumption info: -1
06-07 03:42:18.203: E/memtrack(2070): Couldn’t load memtrack module
06-07 03:42:18.203: W/android.os.Debug(2070): failed to get memory consumption info: -1
06-07 03:42:18.253: I/Remoter(1918): Saved screenshot to ‘/data/screenshots/pmv-0207.jpg’

cpu是x86的吗?

是不是没有打包x86的so库文件
默认是arm的

请问下你的问题解决了吗?我也遇到类似的问题。

没解决,

遇到同样问题,google play测试报告

应该是x86没引入

google要求现在提交的游戏必须得支持64位。可以引入x86, 但cc不支持x86_64,提交包体时直接被google打回。

同样的问题 2.4.9 求指导!!!

请问你使用的 CocosCreator 编辑器版本是多少?2.4.x 版本是支持 X86_64 的

我用的是2.2.2版本。游戏本来也不考虑模拟器的玩家,报错也提交。后面提交的版本,google play移除了该测试机型,就不报错了。