Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error 0x502 Android Emulator

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

like image 699
Atomike-Toxic Avatar asked Feb 17 '18 11:02

Atomike-Toxic


1 Answers

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.

like image 190
OmerSS Avatar answered Nov 02 '22 06:11

OmerSS