dmx*_*dmx 6 android android-studio
我在我的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.
Run Code Online (Sandbox Code Playgroud)
请问有什么想法吗?
更新 这里是模拟器日志:
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)
Run Code Online (Sandbox Code Playgroud)
更新2
我对不同的ubuntu 17.10计算机有同样的问题.我使用本教程进行安装
nes*_*_pp 16
libstdc++Ubuntu 17.10中的路径发生了变化.请尝试以下方法:
$ cd ~/Android/Sdk/emulator/lib64/libstdc++
$ mv libstdc++.so.6 libstdc++.so.6.bak
$ ln -s /usr/lib/x86_64-linux-gnu/libstdc++.so.6 libstdc++.so.6
Run Code Online (Sandbox Code Playgroud)
您应该能够立即从Android Studio中启动模拟器.
| 归档时间: |
|
| 查看次数: |
4074 次 |
| 最近记录: |