I encountered a frustrating issue highlighted in the Play Console pre-launch report for the Google Pixel 5 (64-bit). The app experiences a crash that I couldn’t reproduce on my own device, making it challenging to pinpoint the root cause.
Upon reviewing the recorded session on the Play Console, I noticed that the app loses focus due to a Play Services notification. After this, the tester clicks around randomly on the screen, opens chrome, and browses various pages. When they attempt to return to the app, it crashes.
Thank you for your time
Log File:
logcat (9).txt (5.6 MB)
Exception java.lang.OutOfMemoryError:
at android.graphics.Bitmap.nativeCreate
at android.graphics.Bitmap.createBitmap (Bitmap.java:1120)
at android.graphics.Bitmap.createBitmap (Bitmap.java:1078)
at android.graphics.Bitmap.createBitmap (Bitmap.java:1028)
at android.graphics.Bitmap.createBitmap (Bitmap.java:989)
at com.unity3d.player.P.surfaceDestroyed
at android.view.SurfaceView.notifySurfaceDestroyed (SurfaceView.java:1803)
at android.view.SurfaceView.updateSurface (SurfaceView.java:987)
at android.view.SurfaceView.onWindowVisibilityChanged (SurfaceView.java:308)
at android.view.View.dispatchWindowVisibilityChanged (View.java:15386)
at android.view.ViewGroup.dispatchWindowVisibilityChanged (ViewGroup.java:1620)
at android.view.ViewGroup.dispatchWindowVisibilityChanged (ViewGroup.java:1620)
at android.view.ViewGroup.dispatchWindowVisibilityChanged (ViewGroup.java:1620)
at android.view.ViewGroup.dispatchWindowVisibilityChanged (ViewGroup.java:1620)
at android.view.ViewGroup.dispatchWindowVisibilityChanged (ViewGroup.java:1620)
at android.view.ViewRootImpl.performTraversals (ViewRootImpl.java:2787)
at android.view.ViewRootImpl.doTraversal (ViewRootImpl.java:2286)
at android.view.ViewRootImpl$TraversalRunnable.run (ViewRootImpl.java:8948)
at android.view.Choreographer$CallbackRecord.run (Choreographer.java:1231)
at android.view.Choreographer$CallbackRecord.run (Choreographer.java:1239)
at android.view.Choreographer.doCallbacks (Choreographer.java:899)
at android.view.Choreographer.doFrame (Choreographer.java:832)
at android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:1214)
at android.os.Handler.handleCallback (Handler.java:942)
at android.os.Handler.dispatchMessage (Handler.java:99)
at android.os.Looper.loopOnce (Looper.java:201)
at android.os.Looper.loop (Looper.java:288)
at android.app.ActivityThread.main (ActivityThread.java:7898)
at java.lang.reflect.Method.invoke
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:936)