简体   繁体   中英

Android emulator failed

Ubuntu 15 IntelliJ IDEA

emulator: warning: opening audio output failed ERROR: Could not create SDL2 window: Failed loading libGL.so.1: libGL.so.1: cannot open shared object file: No such file or directory

I also tried following commands

sudo apt-get install libgl1-mesa-dev

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

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

Use Genymotion, it is free and one of the bests. https://www.genymotion.com/#!/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM