Error libGL.so: cannot open shared object file using Android emulator

后端 未结 6 1632
滥情空心
滥情空心 2021-02-01 02:23

I was trying to run android emulator in Ubuntu 12.04(64-bit). But, I got the following errors.

Starting emulator for AVD \'emulatr\'
Failed to load libGL.so
erro         


        
6条回答
  •  闹比i
    闹比i (楼主)
    2021-02-01 03:00

    As I'm using 64-bit Ubuntu 12.04. So, I did this

    $ sudo apt-get install git-core gnupg flex bison gperf build-essential \
      zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \
      libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \
      libgl1-mesa-dev g++-multilib mingw32 openjdk-6-jdk tofrodos \
      python-markdown libxml2-utils xsltproc zlib1g-dev:i386
    $ sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
    

提交回复
热议问题