小编Abh*_*dey的帖子

致命异常:Flutter android 应用程序中的 GLThread 104139

我在 flutter android 应用程序中使用谷歌地图。我在按后退按钮或转到下一个屏幕时意外崩溃了我的应用程序。请查看此错误消息。

W/libEGL  (21050): EGLNativeWindowType 0x9f9cd808 disconnect failed
E/AndroidRuntime(21050): FATAL EXCEPTION: GLThread 104139
E/AndroidRuntime(21050): Process: com.example.app, PID: 21050
E/AndroidRuntime(21050): java.lang.NullPointerException: Attempt to get length of null array
E/AndroidRuntime(21050):    at java.nio.ByteBufferAsIntBuffer.put(ByteBufferAsIntBuffer.java:122)
E/AndroidRuntime(21050):    at com.google.maps.api.android.lib6.gmm6.vector.gl.buffer.n.i(:com.google.android.gms.dynamite_mapsdynamite@221514063@22.15.14 (100306-0):2)
E/AndroidRuntime(21050):    at com.google.maps.api.android.lib6.gmm6.vector.gl.buffer.n.d(:com.google.android.gms.dynamite_mapsdynamite@221514063@22.15.14 (100306-0):3)
E/AndroidRuntime(21050):    at com.google.maps.api.android.lib6.gmm6.vector.gl.drawable.y.s(:com.google.android.gms.dynamite_mapsdynamite@221514063@22.15.14 (100306-0):16)
E/AndroidRuntime(21050):    at com.google.maps.api.android.lib6.gmm6.vector.gl.drawable.ao.s(:com.google.android.gms.dynamite_mapsdynamite@221514063@22.15.14 (100306-0):8)
E/AndroidRuntime(21050):    at com.google.maps.api.android.lib6.gmm6.vector.bz.s(:com.google.android.gms.dynamite_mapsdynamite@221514063@22.15.14 (100306-0):29)
E/AndroidRuntime(21050):    at com.google.maps.api.android.lib6.gmm6.vector.bs.b(:com.google.android.gms.dynamite_mapsdynamite@221514063@22.15.14 (100306-0):151)
E/AndroidRuntime(21050):    at com.google.maps.api.android.lib6.gmm6.vector.av.run(:com.google.android.gms.dynamite_mapsdynamite@221514063@22.15.14 (100306-0):48)
E/BufferQueueProducer(21050): [SurfaceTexture-0-21050-16] disconnect: not connected (req=1)
W/libEGL  (21050): EGLNativeWindowType 0xc2e384c8 disconnect failed
I/Process (21050): Sending signal. PID: 21050 SIG: 9 …
Run Code Online (Sandbox Code Playgroud)

android google-maps flutter

7
推荐指数
0
解决办法
1370
查看次数

标签 统计

android ×1

flutter ×1

google-maps ×1