使用AndroidStudio打包到手机上运行一直卡在Cocos的开屏界面,看log也没有报错,但就是一直卡在那
如图
Logcat中的日志:
2022-06-09 11:44:05.616 10249-10249/? I/libc: SetHeapTaggingLevel: tag level set to 0
2022-06-09 11:44:05.624 10249-10249/? I/com.aaa.test: Late-enabling -Xcheck:jni
2022-06-09 11:44:05.663 10249-10249/? D/ProcessState: Binder ioctl to enable oneway spam detection failed: Invalid argument
2022-06-09 11:44:05.706 10249-10249/com.aaa.test D/CompatibilityChangeReporter: Compat change id reported: 171979766; UID 10847; state: DISABLED
2022-06-09 11:44:05.721 10249-10249/com.aaa.test D/ApplicationLoaders: Returning zygote-cached class loader: /system/framework/android.test.base.jar
2022-06-09 11:44:05.763 10249-10249/com.aaa.test V/GraphicsEnvironment: ANGLE Developer option for ‘com.aaa.test’ set to: ‘default’
2022-06-09 11:44:05.763 10249-10249/com.aaa.test V/GraphicsEnvironment: Updatable production driver is not supported on the device.
2022-06-09 11:44:05.767 10249-10249/com.aaa.test I/ForceDarkHelperStubImpl: initialize for com.aaa.test , ForceDarkOrigin
2022-06-09 11:44:05.768 10249-10249/com.aaa.test D/OpenGLRenderer: JNI_OnLoad success
2022-06-09 11:44:05.768 10249-10249/com.aaa.test I/MiuiForceDarkConfig: setConfig density:2.750000, mainRule:0, secondaryRule:0, tertiaryRule:0
2022-06-09 11:44:05.789 10249-10285/com.aaa.test D/AppScoutStateMachine: 10249-ScoutStateMachinecreated
2022-06-09 11:44:05.797 10249-10249/com.aaa.test D/NetworkSecurityConfig: No Network Security Config specified, using platform default
2022-06-09 11:44:05.797 10249-10249/com.aaa.test D/NetworkSecurityConfig: No Network Security Config specified, using platform default
2022-06-09 11:44:05.914 10249-10300/com.aaa.test D/ViewContentFactory: initViewContentFetcherClass
2022-06-09 11:44:05.914 10249-10300/com.aaa.test D/ViewContentFactory: getInterceptorPackageInfo
2022-06-09 11:44:05.915 10249-10300/com.aaa.test D/ViewContentFactory: getInitialApplication took 0ms
2022-06-09 11:44:05.915 10249-10300/com.aaa.test D/ViewContentFactory: packageInfo.packageName: com.miui.catcherpatch
2022-06-09 11:44:05.924 10249-10249/com.aaa.test D/IS_CTS_MODE: false
2022-06-09 11:44:05.925 10249-10249/com.aaa.test D/MULTI_WINDOW_SWITCH_ENABLED: false
2022-06-09 11:44:05.925 10249-10249/com.aaa.test D/IS_CTS_MODE: false
2022-06-09 11:44:05.925 10249-10249/com.aaa.test D/MULTI_WINDOW_SWITCH_ENABLED: false
2022-06-09 11:44:05.929 10249-10249/com.aaa.test D/DecorView[]: getWindowModeFromSystem windowmode is 1
2022-06-09 11:44:05.940 10249-10300/com.aaa.test D/ViewContentFactory: initViewContentFetcherClass took 25ms
2022-06-09 11:44:05.940 10249-10300/com.aaa.test I/ContentCatcher: ViewContentFetcher : ViewContentFetcher
2022-06-09 11:44:05.940 10249-10300/com.aaa.test D/ViewContentFactory: createInterceptor took 27ms
2022-06-09 11:44:05.965 10249-10304/com.aaa.test I/CocosActivity JNI: APP_CMD_RESUME
2022-06-09 11:44:05.965 10249-10304/com.aaa.test I/CocosActivity JNI: appState=11
2022-06-09 11:44:06.063 10249-10249/com.aaa.test D/DecorView[]: getWindowModeFromSystem windowmode is 1
2022-06-09 11:44:06.063 10249-10249/com.aaa.test D/DecorView[]: updateDecorCaptionStatus displayWindowDecor is false
2022-06-09 11:44:06.072 10249-10249/com.aaa.test W/Looper: PerfMonitor looperActivity : package=com.aaa.test/com.cocos.game.AppActivity time=0ms latency=312ms running=0ms procState=-1 historyMsgCount=2 (msgIndex=1 wall=97ms seq=3 running=40ms runnable=6ms binder=19ms late=8ms h=android.app.ActivityThread$H w=110) (msgIndex=2 wall=268ms seq=4 running=127ms runnable=7ms binder=137ms late=43ms h=android.app.ActivityThread$H w=159)
2022-06-09 11:44:06.084 10249-10296/com.aaa.test I/AdrenoGLES-0: QUALCOMM build : db3d445dbc, Ia06b22fa1a
Build Date : 10/04/21
OpenGL ES Shader Compiler Version: EV031.32.02.16
Local Branch :
Remote Branch :
Remote Branch :
Reconstruct Branch :
2022-06-09 11:44:06.084 10249-10296/com.aaa.test I/AdrenoGLES-0: Build Config : S P 10.0.7 AArch64
2022-06-09 11:44:06.084 10249-10296/com.aaa.test I/AdrenoGLES-0: Driver Path : /vendor/lib64/egl/libGLESv2_adreno.so
2022-06-09 11:44:06.085 10249-10249/com.aaa.test D/SurfaceView: UPDATE null, mIsCastMode = false
2022-06-09 11:44:06.089 10249-10304/com.aaa.test I/CocosActivity JNI: APP_CMD_INIT_WINDOW
2022-06-09 11:44:06.089 10249-10296/com.aaa.test I/AdrenoGLES-0: PFP: 0x016dd093, ME: 0x00000000
2022-06-09 11:44:06.093 10249-10304/com.aaa.test D/jswrapper: Initializing V8, version: 9.1.269
2022-06-09 11:44:06.098 10249-10304/com.aaa.test D/jswrapper: libuv version: 1.13.1
2022-06-09 11:44:06.104 10249-10347/com.aaa.test D/jswrapper: Debugger listening…, visit [
2022-06-09 11:44:06.104 10249-10347/com.aaa.test D/jswrapper: devtools://devtools/bundled/js_app.html?v8only=true&ws=10.27.1.120:6086/00010002-0003-4004-8005-000600070008
2022-06-09 11:44:06.104 10249-10347/com.aaa.test D/jswrapper: devtools://devtools/bundled/js_app.html?v8only=true&ws=192.168.201.54:6086/00010002-0003-4004-8005-000600070008
2022-06-09 11:44:06.104 10249-10347/com.aaa.test D/jswrapper: devtools://devtools/bundled/js_app.html?v8only=true&ws=127.0.0.1:6086/00010002-0003-4004-8005-000600070008
2022-06-09 11:44:06.104 10249-10347/com.aaa.test D/jswrapper: ] in chrome browser to debug!
2022-06-09 11:44:06.104 10249-10347/com.aaa.test D/jswrapper: For help see https://nodejs.org/en/docs/inspector
2022-06-09 11:44:06.099 10249-10249/com.aaa.test W/com.aaa.test: type=1400 audit(0.0:525484): avc: granted { bind } for scontext=u:r:untrusted_app_27:s0:c512,c768 tcontext=u:r:untrusted_app_27:s0:c512,c768 tclass=netlink_route_socket app=com.aaa.test
2022-06-09 11:44:06.099 10249-10249/com.aaa.test W/com.aaa.test: type=1400 audit(0.0:525485): avc: granted { nlmsg_readpriv } for scontext=u:r:untrusted_app_27:s0:c512,c768 tcontext=u:r:untrusted_app_27:s0:c512,c768 tclass=netlink_route_socket app=com.aaa.test
2022-06-09 11:44:06.109 10249-10296/com.aaa.test D/hw-ProcessState: Binder ioctl to enable oneway spam detection failed: Invalid argument
2022-06-09 11:44:06.132 10249-10249/com.aaa.test D/SurfaceView: UPDATE Surface(name=SurfaceView[com.aaa.test/com.cocos.game.AppActivity])/@0x14baa4, mIsProjectionMode = false
2022-06-09 11:44:06.132 10249-10249/com.aaa.test D/SurfaceControl: nativeSetScreenProjection ===> setScreenProjection
2022-06-09 11:44:06.132 10249-10249/com.aaa.test D/SurfaceControl: nativeSetScreenProjection ===> setScreenProjection
2022-06-09 11:44:06.132 10249-10249/com.aaa.test D/SurfaceControl: nativeSetScreenProjection ===> setScreenProjection
2022-06-09 11:44:06.146 10249-10249/com.aaa.test D/DecorView[]: onWindowFocusChanged hasWindowFocus true
2022-06-09 11:44:06.464 10249-10304/com.aaa.test D/jswrapper: JS: [INFO]: [Physics][Bullet]: Using asmjs Bullet libs.
2022-06-09 11:44:06.761 10249-10304/com.aaa.test W/com.aaa.test: Accessing hidden method Ldalvik/system/CloseGuard;->get()Ldalvik/system/CloseGuard; (unsupported,core-platform-api, reflection, allowed)
2022-06-09 11:44:06.761 10249-10304/com.aaa.test W/com.aaa.test: Accessing hidden method Ldalvik/system/CloseGuard;->open(Ljava/lang/String;)V (unsupported,core-platform-api, reflection, allowed)
2022-06-09 11:44:06.761 10249-10304/com.aaa.test W/com.aaa.test: Accessing hidden method Ldalvik/system/CloseGuard;->warnIfOpen()V (unsupported,core-platform-api, reflection, allowed)
2022-06-09 11:44:06.759 10249-10249/com.aaa.test W/Thread-3: type=1400 audit(0.0:525486): avc: denied { read } for name="/" dev=“dm-5” ino=2 scontext=u:r:untrusted_app_27:s0:c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 app=com.aaa.test
2022-06-09 11:44:06.759 10249-10249/com.aaa.test W/Thread-3: type=1400 audit(0.0:525487): avc: denied { read } for name="/" dev=“dm-5” ino=2 scontext=u:r:untrusted_app_27:s0:c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 app=com.aaa.test
2022-06-09 11:44:06.763 10249-10304/com.aaa.test D/Cocos: 11:44:06 [DEBUG]: find in flash memory dirPath(/data/user/0/com.aaa.test/files/temp)
2022-06-09 11:44:06.764 10249-10304/com.aaa.test D/Cocos: 11:44:06 [DEBUG]: find in flash memory dirPath(/data/user/0/com.aaa.test/files/temp)
2022-06-09 11:44:06.765 10249-10304/com.aaa.test D/Cocos: 11:44:06 [DEBUG]: find in flash memory dirPath(/data/user/0/com.aaa.test/files/gamecaches)
2022-06-09 11:44:06.792 10249-10304/com.aaa.test I/Cocos: 11:44:06 [INFO]: Setup EGLConfig: depth [24] stencil [8] sampleBuffer [0] sampleCount [0]
2022-06-09 11:44:06.794 10249-10304/com.aaa.test D/Cocos: 11:44:06 [DEBUG]: EGL context bounded to thread 7b278abcb0
2022-06-09 11:44:06.794 10249-10304/com.aaa.test I/Cocos: 11:44:06 [INFO]: GLES3 device initialized.
2022-06-09 11:44:06.794 10249-10304/com.aaa.test I/Cocos: 11:44:06 [INFO]: RENDERER: Adreno ™ 650
2022-06-09 11:44:06.794 10249-10304/com.aaa.test I/Cocos: 11:44:06 [INFO]: VENDOR: Qualcomm
2022-06-09 11:44:06.794 10249-10304/com.aaa.test I/Cocos: 11:44:06 [INFO]: VERSION: OpenGL ES 3.2 V@0502.0 (GIT@db3d445dbc, Ia06b22fa1a, 1633355031) (Date:10/04/21)
2022-06-09 11:44:06.794 10249-10304/com.aaa.test I/Cocos: 11:44:06 [INFO]: COMPRESSED_FORMATS: etc1 etc2 astc
2022-06-09 11:44:06.794 10249-10304/com.aaa.test I/Cocos: 11:44:06 [INFO]: FRAMEBUFFER_FETCH: NON_COHERENT_QCOM
2022-06-09 11:44:06.794 10249-10304/com.aaa.test I/Cocos: 11:44:06 [INFO]: Device validator enabled.
2022-06-09 11:44:06.795 10249-10369/com.aaa.test D/Cocos: 11:44:06 [DEBUG]: EGL context bounded to thread 7b0abffcb0
2022-06-09 11:44:06.795 10249-10369/com.aaa.test I/Cocos: 11:44:06 [INFO]: Device thread detached.
2022-06-09 11:44:06.833 10249-10304/com.aaa.test D/jswrapper: JS: [INFO]: [PHYSICS]: register bullet.
2022-06-09 11:44:06.847 10249-10304/com.aaa.test D/jswrapper: JS: [INFO]: [PHYSICS]: using bullet.
2022-06-09 11:44:06.898 10249-10369/com.aaa.test I/Cocos: 11:44:06 [INFO]: Shader ‘occlusion-query|occlusion-query-vs:vert|occlusion-query-fs:frag’ compilation succeeded.
2022-06-09 11:44:06.919 10249-10369/com.aaa.test I/Cocos: 11:44:06 [INFO]: Shader ‘splash-screen|splash-screen-vs:vert|splash-screen-fs:frag’ compilation succeeded.
2022-06-09 11:44:06.920 10249-10369/com.aaa.test I/Cocos: 11:44:06 [INFO]: TBB Job system initialized: 6 worker threads
2022-06-09 11:44:10.041 10249-10304/com.aaa.test D/jswrapper: JS: [ERROR]: TypeError: Class extends value undefined is not a constructor or null
