Error 0x502 Android Emulator

匿名 (未验证) 提交于 2019-12-03 00:57:01

问题:

I just started in Android Studio to display a map using mapbox, and when I launch the emulator, the map is not displayed but only the mapbox logo. And I have this error:

12:22 Emulator: android/android-emugl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glUniformMatrix4fv:3400 error 0x502

12:22 Emulator: android/android-emugl/host/libs/Translator/GLES_V2/

12:22 Emulator: GLESv2Imp.cpp:glUniformMatrix4fv:3400 error 0x502

12:22 Emulator: android/android-emugl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glUniform2fv:3303 error 0x502

12:22 Emulator: android/android-emugl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glUniform1f:3268 error 0x502

12:22 Emulator: android/android-emugl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glUniform1i:3282 error 0x502

12:22 Emulator: android/android-emugl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glUniform1f:3268 error 0x502

12:22 Emulator: android/android-emugl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glUniform4fv:3359 error 0x502

12:22 Emulator: android/android-emugl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glUniform1f:3268 error 0x502

12:22 Emulator: android/android-emugl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glUniform1i:3282 error 0x502

Screen error

I helped myself to this: Emulator: glClear:466 GL err 0x502 That is, I reinstall Android Studio totally, and then I manually reinstall HAXM and Android Emulator in the SDK Tool. I also launched in Android Studio administrator mode but without success.

Thanks for your help

回答1:

I had the same problem as you. If you take a look at the other answer in that thread (https://stackoverflow.com/a/48084829/3557075) you'll see that one solution is to change the configuration on the virtual devices in the emulator under "Emulated Performance - Graphics".

This seems to fix the problem for me, despite the fact that the app lags as hell in the emulator.



回答2:

Try Creating An AVD With Application Level 25+. & While Creating AVD Select The Graphics Type As - Automatic So that AVD Can Automatically Detect Ur Graphics Hardware.



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!