我在我的Ubuntu系统上重新安装了Android Studio 3.0。整个安装过程都很顺利。现在,我创建了一个新项目。但是当我尝试运行它时,在控制台上出现了以下信息:
11/10 21:10:19: Launching app
Error while waiting for the device: The emulator process for AVD Nexus_5_API_22 was killed.
有什么想法吗?
更新 以下是模拟器日志:
Executing tasks: [:app:assembleDebug]
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: 155 (GLX)
Emulator: Minor opcode of failed request: 24 (X_GLXCreateNewContext)
Emulator: Value in failed request: 0x0
Emulator: Serial number of failed request: 39
Emulator: Current serial number in output stream: 40
Emulator: Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)
更新2
我在两台不同的Ubuntu 17.10电脑上遇到了同样的问题。我使用这个安装教程进行安装。