Failed to load libGL.so on Android

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

    I solved this problem by reinstalling libgl1, both the 64- and 32-bit libraries:

    $ sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-glx:i386
    

    Background: Previously I switched from the free radeon driver back to fglrx. I guess this somehow screwed up my libgl1, because fglrx comes with its own version.

    Besides, I think that the other solutions provided here are possibly dangerous, because it is wrong to symlink 32 bit shared libraries into the (64 bit) /lib/ directory.

提交回复
热议问题