env
- Ubuntu 17.04
- Intellij 2017.2
おきたこと
- エミュレータ起動しようとしたのにしない
16:52 Error Opening Emulator
libGL error: unable to load driver: i965_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: i965
libGL error: unable to load driver: i965_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: i965
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 155 (GLX)
Minor opcode of failed request: 24 (X_GLXCreateNewContext)
Value in failed request: 0x0
Serial number of failed request: 39
Current serial number in output stream: 40
ググってわかったこと
ln -sf /usr/lib32/libstdc++.so.6 ~/Android/sdk/tools/lib64/libstdc++/libstdc++.so.6
みたいにしようね
こまったこと
~/Android/sdk/tools/lib64/libstdc++
ディレクトリがそもそもない
解決法
~/Android/Sdk/emulator/lib/libstdc++
ディレクトリがあったのでそこにsymlinkを貼る
$ cd ~/Android/Sdk/emulator/lib/libstdc++
$ mv libstdc++.so.6 libstdc++.so.6_
$ ln -s /usr/lib32/libstdc++.so.6 .
感想
バージョンアップで何か変わったんかな。
ようわからんけどとりまこれで動いた気がする。