致命异常:java.lang.IllegalStateException-无法为LinearLayout创建图层(仅在Galaxy j4 +,j6 +中崩溃) [英] Fatal Exception: java.lang.IllegalStateException - Unable to create layer for LinearLayout(Crashing in only Galaxy j4+, j6+)

查看:147
本文介绍了致命异常:java.lang.IllegalStateException-无法为LinearLayout创建图层(仅在Galaxy j4 +,j6 +中崩溃)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

致命异常:java.lang.IllegalStateException无法创建适用于LinearLayout的图层,尺寸为768x5440,最大尺寸为8192,颜色类型4具有内容1

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)

我从firebase Crashlytics收到了nativePollOnce.java崩溃警报,但是许多(银河系j4 +,j6 +)模型中只有少数会频繁崩溃.我该如何解决?

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?

推荐答案

似乎可能会对您有所帮助.

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.

这篇关于致命异常:java.lang.IllegalStateException-无法为LinearLayout创建图层(仅在Galaxy j4 +,j6 +中崩溃)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆