Failed to load libGL.so on Android

前端 未结 26 1407
旧巷少年郎
旧巷少年郎 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
    

提交回复
热议问题