emulator: WARNING: Could not initialize OpenglES emulation, using software renderer

后端 未结 8 2409
醉梦人生
醉梦人生 2020-12-14 06:51

What do these error messages mean from the Android emulator?

Starting emulator for AVD \'AVD\'
Failed to create Context 0x3005
could not get wglGetExtensions         


        
相关标签:
8条回答
  • 2020-12-14 07:24

    Make sure you install the correct drivers for your graphics card. i was having the exact same error.

    0 讨论(0)
  • 2020-12-14 07:27

    I too Had the same problem even if i have 512 MB of RAM. I solved by "Deleting" the older emulator and recreated the new emulator. Still i didn't know the reason for this issue.This issue is not yet closed by Google Developers . Hoping my solution help others.

    0 讨论(0)
  • 2020-12-14 07:32

    It means the linker could not find OpenglES libraries on your system. You could try installing those.

    On Fedora, this seems to solve the problem:

    > yum install mesa-libGLw.i686
    

    Some related information here: http://www.redips.net/android/emulator-fedora-linux/

    Edit: For Windows-related things, this answer appears to do what you want.

    0 讨论(0)
  • 2020-12-14 07:33

    export LD_LIBRARY_PATH="/home/< user-pc>/Android/Sdk/tools/lib64:$LD_LIBRARY_PATH"

    cd /home/nazmul/Android/Sdk/tools

    ./emulator64-x86 -avd < avd-name > -gpu on

    This comand work on my laptop .

    0 讨论(0)
  • 2020-12-14 07:38

    While starting the emulator from the command line - $ emulator64-arm -avd GalaxyS2 - I got a similiar (and maybe/hopefully) related message:

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

    I found this file lib64OpenglRender.so through locate. It's in the tools/lib-subdirectory of the android-sdk-linux-dir.

    So I created /etc/ld.so.conf.d/android_stuff.conf (you could of course add the following line to another *.conf-file in that directory) and put one line in:

    path_to_android-sdk-linux_directory/tools/lib

    Then call the configuration-tool: ldconfig (just without any parameter) and (at least in my case) the error-message went away.

    0 讨论(0)
  • 2020-12-14 07:39

    One more tip...Check if you are not on virtual machine...I mean you should be on real machine.

    0 讨论(0)
提交回复
热议问题