問題描述
致命異常: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 崩潰警報,但許多(galaxy 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?
推薦答案
好像這個問題是相關的 - 該鏈接中的第一個答案鏈接到 帶有英雄元素的場景轉換拋出層超過最大值.GPU 支持的尺寸 可能會對您有所幫助.
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+ 中崩潰)的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!