错误提示
Emulator: libGL error: unable to load driver: i965_dri.so
Emulator: libGL error: driver pointer missing
Emulator: libGL error: failed to load driver: i965
Emulator: libGL error: unable to load driver: i965_dri.so
Emulator: libGL error: driver pointer missing
Emulator: libGL error: failed to load driver: i965
Emulator: libGL error: unable to load driver: swrast_dri.so
Emulator: libGL error: failed to load driver: swrast
Emulator: X Error of failed request: BadValue (integer parameter out of range for operation)
Emulator: Major opcode of failed request: 156 (GLX)
Emulator: Minor opcode of failed request: 24 (X_GLXCreateNewContext)
Emulator: Value in failed request: 0x0
Emulator: Serial number of failed request: 64
Emulator: Current serial number in output stream: 65
Emulator: Process finished with exit code 1
解决方案
1.下载需要的包
sudo apt-get install lib64stdc++6:i386
sudo apt-get install mesa-utils
2.进入 SDK 目录(我是两个目录都备份链接了,不过弄第二个目录的时候才成功的)
cd YOUPAHT/Android/Sdk/tools/lib64
//or
cd YOUPAHT/Adnroid/Sdk/emulator/lib64
mv libstdc++/ libstdc++.bak
ln -s /usr/lib64/libstdc++.so.6 libstdc++
3.重新启动虚拟机
在Ubuntu14.04编译安卓源码并启动模拟器:http://www.linuxdiyf.com/linux/29279.html
amd/nvida独立显卡在Ubuntu 16.10启用Android模拟器硬件加速:http://www.linuxdiyf.com/linux/27989.html
ubuntu打开Android模拟器提示:emulator:未找到命令:http://www.linuxdiyf.com/linux/26521.html
在Android模拟器和Ubuntu上测试Linux驱动:http://www.linuxdiyf.com/linux/24793.html
Ubuntu14.04中用模拟器运行Android系统:http://www.linuxdiyf.com/linux/23084.html