我在Ubuntu 17.04上使用Android Studio 3.0.1当我尝试在虚拟设备上运行应用程序后出现错误消息弹出窗口。 模拟器:libGL错误:无法加载驱动程序:i965_dri.so
words > wordCount
请帮助我克服这些错误。
答案 0 :(得分:0)
好看,在最近的Android工作室更新中,Google使用的 libstdc ++ 与系统上安装的Intel驱动程序不兼容。
[dustin@dustin-linux:tools]$ LIBGL_DEBUG=verbose ./emulator
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/tls/i965_dri.so
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/i965_dri.so
libGL: dlopen /usr/lib/xorg/modules/dri/i965_dri.so failed (/home/dustin/opt/android-studio/sdk/tools/lib64/libstdc++/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr/lib/xorg/modules/dri/i965_dri.so))
libGL error: unable to load driver: i965_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: i965
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/swrast_dri.so
libGL: dlopen /usr/lib/xorg/modules/dri/swrast_dri.so failed (/home/dustin/opt/android-studio/sdk/tools/lib64/libstdc++/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /usr/lib/xorg/modules/dri/swrast_dri.so))
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
X Error of failed request: GLXBadContext
Major opcode of failed request: 154 (GLX)
Minor opcode of failed request: 6 (X_GLXIsDirect)
Serial number of failed request: 49
Current serial number in output stream: 48
emulator: ERROR: You did not specify a virtual device name, and the system
directory could not be found.
If you are an Android SDK user, please use '@<name>' or '-avd <name>'
to start a given virtual device (use -list-avds to print available ones).
Otherwise, follow the instructions in -help-disk-images to start the emulator
基本上我改名了 &#34;机器人工作室/ SDK /工具/ lib64下/的libstdc ++ / ++的libstdc so.6&#34。如此提交 必须使用系统的...基本上这样做 - 对我来说。
最初发布了here