无法为TextView创建图层,尺寸-128x64最大尺寸8192颜色类型4具有上下文1

时间:2019-06-14 09:11:18

标签: java android-9.0-pie

我在这里当机。它只会出现在android 9上。以下是我可以提供的日志。我不知道哪个代码有问题。

06-14 11:27:06.918 18269 18394 E OpenGLRenderer: Font Cache (CPU):
12706-14 11:27:06.918 18269 18394 E OpenGLRenderer: Size: 592.36 kB
12806-14 11:27:06.918 18269 18394 E OpenGLRenderer: Glyph Count: 105
12906-14 11:27:06.918 18269 18394 E OpenGLRenderer: CPU Caches:
13006-14 11:27:06.918 18269 18394 E OpenGLRenderer: Shadows: 4.33 KB (1 entry)
13106-14 11:27:06.918 18269 18394 E OpenGLRenderer: GPU Caches:
13206-14 11:27:06.918 18269 18394 E OpenGLRenderer: Other:
13306-14 11:27:06.918 18269 18394 E OpenGLRenderer: Buffer Object: 63.00 KB (2 entries)
13406-14 11:27:06.918 18269 18394 E OpenGLRenderer: Image:
13506-14 11:27:06.918 18269 18394 E OpenGLRenderer: Texture: 20.02 MB (61 entries)
13606-14 11:27:06.918 18269 18394 E OpenGLRenderer: Texture( 1): 18164644 Byte (count:1)
13706-14 11:27:06.918 18269 18394 E OpenGLRenderer: Texture( 2): 328680 Byte (count:1)
13806-14 11:27:06.918 18269 18394 E OpenGLRenderer: Texture( 3): 122500 Byte (count:1)
13906-14 11:27:06.918 18269 18394 E OpenGLRenderer: Texture( 4): 112896 Byte (count:1)
14006-14 11:27:06.918 18269 18394 E OpenGLRenderer: Texture( 5): 108900 Byte (count:7)
14106-14 11:27:06.918 18269 18394 E OpenGLRenderer: Texture( 6): 86436 Byte (count:3)
14206-14 11:27:06.918 18269 18394 E OpenGLRenderer: Texture( 7): 68644 Byte (count:1)
14306-14 11:27:06.918 18269 18394 E OpenGLRenderer: Texture( 8): 63504 Byte (count:1)
14406-14 11:27:06.918 18269 18394 E OpenGLRenderer: Texture( 9): 62500 Byte (count:3)
14506-14 11:27:06.918 18269 18394 E OpenGLRenderer: Texture(10): 52900 Byte (count:1)
14606-14 11:27:06.918 18269 18394 E OpenGLRenderer: .......
14706-14 11:27:06.918 18269 18394 E OpenGLRenderer: Scratch:
14806-14 11:27:06.918 18269 18394 E OpenGLRenderer: Buffer Object: 96.00 KB (3 entries)
14906-14 11:27:06.918 18269 18394 E OpenGLRenderer: RenderTarget: 27.30 MB (10 entries)
15006-14 11:27:06.918 18269 18394 E OpenGLRenderer: Texture: 18.00 MB (2 entries)
15106-14 11:27:06.918 18269 18394 E OpenGLRenderer: Texture( 1): 16777216 Byte (count:1)
15206-14 11:27:06.918 18269 18394 E OpenGLRenderer: Texture( 2): 2097152 Byte (count:1)
15306-14 11:27:06.918 18269 18394 E OpenGLRenderer: Other Caches:
15406-14 11:27:06.918 18269 18394 E OpenGLRenderer: Current / Maximum
15506-14 11:27:06.918 18269 18394 E OpenGLRenderer: VectorDrawableAtlas 0.00
15606-14 11:27:06.920 18269 18269 D AndroidRuntime: Shutting down VM
157--------- beginning of crash
15806-14 11:27:06.921 18269 18269 E AndroidRuntime: FATAL EXCEPTION: main
15906-14 11:27:06.921 18269 18269 E AndroidRuntime: Process: com.ganesha.pie, PID: 18269
16006-14 11:27:06.921 18269 18269 E AndroidRuntime: java.lang.IllegalStateException: Unable to create layer for TextView, size -192x64 max size 8192 color type 4 has context 1
16106-14 11:27:06.921 18269 18269 E AndroidRuntime: at android.os.MessageQueue.nativePollOnce(Native Method)
16206-14 11:27:06.921 18269 18269 E AndroidRuntime: at android.os.MessageQueue.next(MessageQueue.java:326)
16306-14 11:27:06.921 18269 18269 E AndroidRuntime: at android.os.Looper.loop(Looper.java:181)
16406-14 11:27:06.921 18269 18269 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7058)
16506-14 11:27:06.921 18269 18269 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
16606-14 11:27:06.921 18269 18269 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
16706-14 11:27:06.921 18269 18269 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)

0 个答案:

没有答案