gpt4 book ai didi

java - 致命异常 : java. lang.IllegalStateException - 无法为 LinearLayout 创建图层(仅在 Galaxy j4+、j6+ 中崩溃)

转载 作者:搜寻专家 更新时间:2023-11-01 03:45:45 26 4
gpt4 key购买 nike

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崩溃警报,但只有少数(galaxy j4+,j6+)模型会频繁崩溃。我是如何解决这个问题的?

最佳答案

好像this issue相关 - 该链接中第一个答案链接到 Scene transition with hero elements throws Layer exceeds max. dimensions supported by the GPU可能对你有帮助。

关于java - 致命异常 : java. lang.IllegalStateException - 无法为 LinearLayout 创建图层(仅在 Galaxy j4+、j6+ 中崩溃),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57032642/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com