admin管理员组文章数量:1389768
I would appreciate if you help me with this issue I have been having for the last month.
When I run a Flutter app in an Android emulator I get the following logs every time flutter needs to update the screen or load an image, whether it’s with the widget ‘Imagework’ or with ‘Image.asset’.
E/libEGL ( 5968): called unimplemented OpenGL ES API
D/EGL_emulation( 5968): app_time_stats: avg=947.73ms min=19.49ms max=3199.28ms count=4
That log can apper every second if I am loading a gift instead of an image.
I already tried the following and got no results from it:
- Changed the type of graphics acceleration on the emulator configuration between Hardware and Software.
- Installed the latest drivers of my proccessor, Intel Graphics, as well as VT-x and VT-d on the BIOS
- Turned off Hyper-V and turn on Windows Hypervisor Platform and Virtual Machine Platform.
- Tried with different emulators API levels, from 36 to 30.
- Tried with Google API’s and Open Source Androids. Even in a new Flutter project, on the counter basic example, it throws that error everytime Flutter refresh the app, updating the counter
I would appreciate if you help me with this issue I have been having for the last month.
When I run a Flutter app in an Android emulator I get the following logs every time flutter needs to update the screen or load an image, whether it’s with the widget ‘Imagework’ or with ‘Image.asset’.
E/libEGL ( 5968): called unimplemented OpenGL ES API
D/EGL_emulation( 5968): app_time_stats: avg=947.73ms min=19.49ms max=3199.28ms count=4
That log can apper every second if I am loading a gift instead of an image.
I already tried the following and got no results from it:
- Changed the type of graphics acceleration on the emulator configuration between Hardware and Software.
- Installed the latest drivers of my proccessor, Intel Graphics, as well as VT-x and VT-d on the BIOS
- Turned off Hyper-V and turn on Windows Hypervisor Platform and Virtual Machine Platform.
- Tried with different emulators API levels, from 36 to 30.
- Tried with Google API’s and Open Source Androids. Even in a new Flutter project, on the counter basic example, it throws that error everytime Flutter refresh the app, updating the counter
- 1 Possibly related: Flutter Impeller in android Emulator but identifying which version of Flutter and version of Android SDK (not API level) you are using would be informative. – Morrison Chang Commented Mar 16 at 5:49
- @MorrisonChang thanks, that is helping me finding what the root problem is – Frank Ayra Commented Mar 16 at 17:06
- Feel free to self answer with your solution or explanation for future readers. – Morrison Chang Commented Mar 16 at 18:57
- This may be related to this problem: stackoverflow/a/79454564/29644960 – JTO Informatique Commented Mar 17 at 14:04
1 Answer
Reset to default 2I was able to identify that the problem was due to the graphics engine that Flutter has been using for about 2 or 3 versions (Impeller). This has a Vulkan and OpenGL compatibility bug. I was even able to find an issue from the Flutter development team, reporting the error (see https://github/flutter/flutter/issues/163269 ). Therefore, we can temporarily, until the bug is resolved, get by with the command:
flutter run --no-enable-impeller
which I found in this https://stackoverflow/questions/76970158/flutter-impeller-in-android-emulator.
Thanks to @MorrisonChang for the contribution.
Apparently It was recently solved on Flutter 3.29.0
本文标签:
版权声明:本文标题:Error using Flutter with Android emulation "ElibEGL: called unimplemented OpenGL ES API" - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744601921a2615119.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论