首次运行后在模拟器上运行 flutter 应用程序时出错

问题描述 投票:0回答:1

当我第一次在 Android 模拟器上运行我的 flutter 应用程序时,它运行得很顺利。然而,第一次启动后,它显示错误。 错误如下:

✓  Built build/app/outputs/flutter-apk/app-debug.apk.
I/ample.food_fete( 6664): Compiler allocated 4533KB to compile void android.view.ViewRootImpl.performTraversals()
Connecting to VM Service at ws://127.0.0.1:41429/ZIJH4M0Maio=/ws
9
E/emuglGLESv2_enc( 6664): device/generic/goldfish-opengl/system/GLESv2_enc/GL2Encoder.cpp:s_glGetUniformLocation:2183 GL error 0x502
W/Parcel  ( 6664): Expecting binder but got null!

我尝试卸载android studio并将其更新到最新版本,但这个问题仍然存在。有谁可以帮助我吗?

android flutter dart android-studio
1个回答
0
投票

同样的错误:E/emuglGLESv2_enc(7424):设备/通用/goldfish-opengl/system/GLESv2_enc/GL2Encoder.cpp:s_glGetUniformLocation:2206 GL错误0x502

© www.soinside.com 2019 - 2024. All rights reserved.