雷电模拟器视频全屏后,点击左箭头←返回后,报错
来源:14-3 hi-net模块解耦与重构

JefferyzZ
2024-10-06
I/flutter ( 6442): :didChangeAppLifecycleState:AppLifecycleState.inactive
I/flutter ( 6442): Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 2106 pos 12: '_elements.contains(element)': is not true.
E/EGL_adreno( 6442): tid 6518: eglSurfaceAttrib(1350): error 0x3009 (EGL_BAD_MATCH)
W/OpenGLRenderer( 6442): Failed to set EGL_SWAP_BEHAVIOR on surface 0x7fff68c8f800, error=EGL_BAD_MATCH
D/EGL_adreno( 6442): eglMakeCurrent: 0x7fff7293bda0: ver 3 1 (tinfo 0x7fff68c468c0)
D/EGL_adreno( 6442): eglMakeCurrent: 0x7fff7293bda0: ver 3 1 (tinfo 0x7fff68c468c0)
I/flutter ( 6442): :didChangeAppLifecycleState:AppLifecycleState.resumed
D/AudioTrack( 6442): correcting timestamp time for pause, currentTimeNanos: 4550151199323 < limitNs: 4554213285115 < mStartNs: 4554255285115
I/flutter ( 6442): Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 2106 pos 12: '_elements.contains(element)': is not true.
D/EGL_adreno( 6442): eglMakeCurrent: 0x7fff7293c840: ver 3 1 (tinfo 0x7fff6a79db40)
D/AudioTrack( 6442): correcting timestamp time for pause, currentTimeNanos: 4550151199323 < limitNs: 4554213285115 < mStartNs: 4554255285115
D/AudioTrack( 6442): correcting timestamp time for pause, currentTimeNanos: 4550151199323 < limitNs: 4554213285115 < mStartNs: 4554255285115
I/flutter ( 6442): Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 2106 pos 12: '_elements.contains(element)': is not true.
I/flutter ( 6442): Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 2106 pos 12: '_elements.contains(element)': is not true.
I/flutter ( 6442): Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 2106 pos 12: '_elements.contains(element)': is not true.
I/chatty ( 6442): uid=10071(org.devio.flutter.bili.flutter_bili_app) 1.ui identical 27 lines
具体UI图片如下所示
fa-component工程 , 期待老师答疑解惑 , 万分感谢😊
写回答
1回答
-
CrazyCodeBoy
2024-10-07
1.看日志是在系统层抛出来的错误可能是模拟器视频渲染报错,可以试一下用真机运行看看。
2.另外你有没有更详细的日志,贴出来我帮你分析一下,看能不能关联到课程的代码的哪一行呢?022024-10-08
相似问题