Failed to load libGL.so on Android

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

    For 32-bit Ubuntu 12.04 LTS, this worked:

    sudo apt-get install libgl1-mesa-dev
    

    None of the following worked:

    cd /usr/lib/i386-linux-gnu/mesa/
    sudo ln -s libGL.so.1.2 libGL.so 
    sudo ln -s libGL.so.1.2 /usr/lib/libGL.so
    ln -s libGL.so.1.2 ~/android/android-sdk-linux/tools/lib/libGL.so
    

提交回复
热议问题