Failed to load libGL.so on Android

前端 未结 26 1347
旧巷少年郎
旧巷少年郎 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 06:56

    On Ubuntu 12.04 64-bit, GNOME 3.4, I first referred to http://developer.android.com/sdk/installing/index.html and installed ia32-lib, which will generate /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2.0

    Then I run the below command and solved this problem:

    sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2.0 /usr/lib/libGL.so
    

    This is slightly different from gridstation's answer.

    I guess there's no need to install the Mesa driver locally, which may cause issues with your real video drivers.

提交回复
热议问题