gpt4 book ai didi

android-emulator - 无法在 Linux (Ubuntu 15.10) 上启动模拟器

转载 作者:行者123 更新时间:2023-12-03 04:48:12 25 4
gpt4 key购买 nike

我尝试启动模拟器,但它输出到日志中:

libGL error: unable to load driver: r600_dri.so 
libGL error: driver pointer missing
libGL error: failed to load driver: r600
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: 155 (GLX)
Minor opcode of failed request: 6 (X_GLXIsDirect)
Serial number of failed request: 47
Current serial number in output stream: 46
libGL error: unable to load driver: r600_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: r600
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: 155 (GLX)
Minor opcode of failed request: 6 (X_GLXIsDirect)
Serial number of failed request: 47
Current serial number in output stream: 46
libGL error: unable to load driver: r600_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: r600
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: 33
Current serial number in output stream: 34
QObject::~QObject: Timers cannot be stopped from another thread emulator: WARNING: Increasing RAM size to 1GB

如何解决?我读过有类似错误的主题,但这对我没有帮助。

最佳答案

使用系统中可用的 libstdc++.so.6 而不是与 android sdk 捆绑的 libstdc++.so.6 可以解决此问题。

  • 模拟器有一个开关-use-system-libs来执行此操作。

    ~/Android/Sdk/tools/emulator -avd Nexus_5_API_23 -use-system-libs

  • 或者,您可以将您的用户/系统的 ANDROID_EMULATOR_USE_SYSTEM_LIBS 环境变量设置为 1。这样做的好处是可以确保即使您从 Android Studio 中启动模拟器也能正常工作。

更多详细信息:https://code.google.com/p/android/issues/detail?id=197254#c15

关于android-emulator - 无法在 Linux (Ubuntu 15.10) 上启动模拟器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35911302/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com