我已经安装了Android Studio 简介从 Ubuntu 18.04 中的 Snap Store 下载 snap 包。Android Studio 模拟器失败并出现以下错误:
7:17 PM Executing tasks: [:app:assembleDebug]
7:17 PM Emulator: libGL error: unable to load driver: i965_dri.so
7:17 PM Emulator: libGL error: driver pointer missing
7:17 PM Emulator: libGL error: failed to load driver: i965
7:17 PM Emulator: libGL error: unable to load driver: i965_dri.so
7:17 PM Emulator: libGL error: driver pointer missing
7:17 PM Emulator: libGL error: failed to load driver: i965
7:17 PM Emulator: libGL error: unable to load driver: swrast_dri.so
7:17 PM Emulator: libGL error: failed to load driver: swrast
7:17 PM Emulator: Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)
7:17 PM Gradle build finished in 542ms
答案1
答案2
答案3
Snap 软件包中捆绑的 Libstdc++6 已过时或不适合此 Ubuntu 版本。请向软件包维护者提交错误报告,并同时使用其他 Android Studio 安装,
答案4
Android Emulator 27.2.9 已修复此问题。请参阅此处列出的第一个修复程序: https://developer.android.com/studio/releases/emulator#fixes