0

Cannot launch AVD in emulator. Output:

gles2_dispatch_init: Could not load lib64GLES_V2_translator [lib64GLES_V2_translator.so: cannot open shared object file: No such file or directory]

Failed to open lib64EGL_translator: [lib64EGL_translator.so: cannot open shared object file: No such file or directory]

emulator: ERROR: Could not load OpenGLES emulation library [lib64OpenglRender]: lib64OpenglRender.so: cannot open shared object file: No such file or directory

emulator: Listening for console connections on port: 5554

emulator: Serial number of this emulator (for ADB): emulator-5554

emulator: ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it.enter image description here

Vinodh Ram
  • 709
  • 1
  • 9
  • 22

2 Answers2

1

You have gpu-host enabled and that may cause your error. Go to Android Studio -> Tools -> Android -> AVD Manager and then uncheck "Use Host GPU".

Location of the setting in AVD

Eric Darchis
  • 24,537
  • 4
  • 28
  • 49
1

edit config file for virtual device

e.g.:

C:\Users\<your user>\.android\avd\Nexus_7_API_17.avd\config.ini

...
hw.gpu.enabled=no
...
Ichigo Kurosaki
  • 3,765
  • 8
  • 41
  • 56
ubart
  • 11
  • 1