环境:Linux Mint 18+Nvidia driver

在Android Studio 2.2中启动AVD报错:

Cannot launch AVD in emulator. 
Output: libGL error: driver pointer missing libGL 
error: failed to load driver: nouveau libGL 
error: unable to load driver: swrast_dri.so libGL 
error: failed to load driver: swrast X 
Error of failed request:  GLXBadContext


http://stackoverflow.com/questions/36189393/android-studio-avd-error-launching找到一个不算解决的解决办法:
https://gist.github.com/NickGeek/1e125d7ca6aeff2d4e0e3ac2399bc14c的avd_selection.py文件放到/home/duuge/Android/Sdk/tools目录下(具体按你自己的安卓的sdk目录而定),然后启动命令行并切到这个目录下运行命令python avd_selection.py:

duuge@linuxmint ~/Android/Sdk/tools $ python avd_selection.py

可临时解决。
随文附上avd_selection.py文件的压缩包。

avd_selection.py.tar.gz

标签: duuge, server, android studio, error, avd, emulator, avd_selection, linuxmint18, dns

添加新评论