Failed to load libGL.so on Android

前端 未结 26 1246
旧巷少年郎
旧巷少年郎 2020-12-04 06:05

I am using Ubuntu 12.04 (Precise Pangolin) with the Oracle JDK 7, and when I am running the Android emulator from Eclipse, it\'s giving this error:

[201         


        
相关标签:
26条回答
  • 2020-12-04 07:01

    I think I got it right, no warnings and no slowness... This might not work with proprietary drivers, though.

    Make sure libgl1-mesa-glx:i386 is installed (even if you got a x64 SO file). Then do:

    sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2 /usr/lib/libGL.so
    
    0 讨论(0)
  • 2020-12-04 07:01

    Check if you have libgl1-mesa-* packages installed. If so, install the libgl1-mesa-dev package to get the unversioned shared objects.

    You shouldn't have to do this -- it's the Android team's error. Give them a break, they're only Java developers.

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