Failed to load libGL.so on Android

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

    I have the Android SDK installed into ~/android-sdk-linux_x86, so I did:

    ln -s /usr/lib/libGL.so.1 ~/android-sdk-linux_x86/tools/lib/libGL.so
    

    This solves errors just like linking to /usr/lib does, but it doesn't require root and doesn't mess with core system directories.

提交回复
热议问题