Fatal Exception: java.lang.IllegalStateException - Unable to create layer for LinearLayout(Crashing in only Galaxy j4+, j6+)

BEOM KI :

Fatal Exception: java.lang.IllegalStateException Unable to create layer for LinearLayout, size 768x5440 max size 8192 color type 4 has context 1

android.os.MessageQueue.nativePollOnce (MessageQueue.java)
android.os.Looper.loop + 181 (Looper.java:181)
android.app.ActivityThread.main + 7097 (ActivityThread.java:7097)
java.lang.reflect.Method.invoke (Method.java)
com.android.internal.os.ZygoteInit.main + 975 (ZygoteInit.java:975)

I received a nativePollOnce.java crash alarm from the firebase Crashlytics, but only a few of the many (galaxy j4 +, j6 +) models will crash frequently. How did i resolve this?

Kevin Kokomani :

It seems like this issue is related - the first answer in that link that links to Scene transition with hero elements throws Layer exceeds max. dimensions supported by the GPU might help you.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=124774&siteId=1