Android black screen problem

Hi guys. This time, I’m building Android through cocos creator, but when I go to home during the game and come back to the game, all I can see is just a black screen and I can touch and it shows log but screen shows noting.

Do you know why this is?

My development environment looks like this
cocos creator: 3.5.1 v
phone : galaxy-8
android:27

android studio shows 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) old=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: show() Surface(name=SurfaceView - com.chamelio.magicka/com.cocos.game.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.size 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() Surface(name=SurfaceView - com.chamelio.magicka/com.cocos.game.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: Input 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: old=[0,0][1080,2220] new=[0,0][1080,2220] result=0x5 surface={valid=false 0} changed=true
2022-06-09 19:53:23.041 24563-24563/com.chamelio.magicka D/ViewRootImpl@891af80[AppActivity]: Surface release. 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: old=[0,0][1080,2220] new=[0,0][1080,2220] result=0x1 surface={valid=false 0} changed=false

Can you show a demo? I tested in my phone and it works well.

Do you have Swappy, Vulkan checked?

If you were able to solve the problem by turning off Enable Swappy, please reply here.

Oh, I did as I wrote in the comment and it worked. thank you!