Tuesday, June 14, 2022
HomeGame DevelopmentAndroid black display screen drawback - Cocos Creator

Android black display screen drawback – Cocos Creator


Hello guys. This time, I’m constructing Android via cocos creator, however after I go to residence throughout the sport and are available again to the sport, all I can see is only a black display screen and I can contact and it exhibits log however display screen exhibits noting.

Have you learnt why that is?

My growth atmosphere appears to be like like this
cocos creator: 3.5.1 v
telephone : galaxy-8
android:27

android studio exhibits log like this

2022-06-09 19:53:22.596 24563-24563/com.chamelio.magicka D/SensorManager: unregisterListener ::
2022-06-09 19:53:22.601 24563-24563/com.chamelio.magicka D/ViewRootImpl@891af80[AppActivity]: MSG_WINDOW_FOCUS_CHANGED 0 1
2022-06-09 19:53:22.601 24563-24563/com.chamelio.magicka D/InputMethodManager: prepareNavigationBarInfo() DecorView@8d8f377[AppActivity]
2022-06-09 19:53:22.602 24563-24563/com.chamelio.magicka D/InputMethodManager: getNavigationBarColor() -855310
2022-06-09 19:53:22.632 24563-24563/com.chamelio.magicka D/ViewRootImpl@891af80[AppActivity]: setWindowStopped(true) previous=false
2022-06-09 19:53:22.634 24563-24563/com.chamelio.magicka D/SurfaceView: windowStopped(true) false com.cocos.lib.CocosSurfaceView{4673d5f V.E… … 0,0-1080,2220} of ViewRootImpl@891af80[AppActivity]
2022-06-09 19:53:22.636 24563-24563/com.chamelio.magicka D/SurfaceView: present() Floor(title=SurfaceView – com.chamelio.magicka/com.cocos.sport.AppActivity@4673d5f@0[24563])/@0x13d6875 com.cocos.lib.CocosSurfaceView{4673d5f V.E… … 0,0-1080,2220}
2022-06-09 19:53:22.638 24563-24563/com.chamelio.magicka D/SurfaceView: surfaceDestroyed callback.measurement 1 #1 com.cocos.lib.CocosSurfaceView{4673d5f V.E… … 0,0-1080,2220}
2022-06-09 19:53:22.652 24563-24607/com.chamelio.magicka I/CocosActivity JNI: JNI_CMD_TERM_WINDOW
2022-06-09 19:53:22.672 24563-24654/com.chamelio.magicka I/ChoreographerThread: Destroying NDKChoreographerThread
2022-06-09 19:53:22.673 24563-24657/com.chamelio.magicka I/ChoreographerThread: Terminating Looper thread
2022-06-09 19:53:22.685 24563-24658/com.chamelio.magicka I/SwappyDisplayManager: Terminating looper thread
2022-06-09 19:53:22.689 24563-24563/com.chamelio.magicka D/SurfaceView: destroy() Floor(title=SurfaceView – com.chamelio.magicka/com.cocos.sport.AppActivity@4673d5f@0[24563])/@0x13d6875 com.cocos.lib.CocosSurfaceView{4673d5f V.E… … 0,0-1080,2220}
2022-06-09 19:53:22.694 24563-24607/com.chamelio.magicka I/CocosActivity JNI: JNI_CMD_PAUSE
2022-06-09 19:53:22.716 24563-24563/com.chamelio.magicka D/InputTransport: Enter channel destroyed: fd=104
2022-06-09 19:53:22.722 24563-24563/com.chamelio.magicka D/SurfaceView: onWindowVisibilityChanged(4) false com.cocos.lib.CocosSurfaceView{4673d5f I.E… … 0,0-1080,2220} of ViewRootImpl@891af80[AppActivity]
2022-06-09 19:53:22.726 24563-24609/com.chamelio.magicka W/libEGL: EGLNativeWindowType 0x6fe9895010 disconnect failed
2022-06-09 19:53:22.726 24563-24609/com.chamelio.magicka D/OpenGLRenderer: eglDestroySurface = 0x6fe1af7680, 0x6fe9895000
2022-06-09 19:53:22.748 24563-24563/com.chamelio.magicka D/ViewRootImpl@891af80[AppActivity]: Relayout returned: previous=[0,0][1080,2220] new=[0,0][1080,2220] consequence=0x5 floor={legitimate=false 0} modified=true
2022-06-09 19:53:23.041 24563-24563/com.chamelio.magicka D/ViewRootImpl@891af80[AppActivity]: Floor launch. android.view.ViewRootImpl$ViewRootHandler.handleMessage:4822 android.os.Handler.dispatchMessage:106
2022-06-09 19:53:23.055 24563-24563/com.chamelio.magicka D/SurfaceView: onWindowVisibilityChanged(8) false com.cocos.lib.CocosSurfaceView{4673d5f I.E… … 0,0-1080,2220} of ViewRootImpl@891af80[AppActivity]
2022-06-09 19:53:23.067 24563-24563/com.chamelio.magicka D/ViewRootImpl@891af80[AppActivity]: Relayout returned: previous=[0,0][1080,2220] new=[0,0][1080,2220] consequence=0x1 floor={legitimate=false 0} modified=false


Are you able to present a demo? I examined in my telephone and it really works effectively.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments