Android / Linux:请求失败的错误:BadAlloc(操作资源不足)

时间:2012-11-13 15:59:22

标签: android ubuntu opengl-es

运行android模拟器时出现以下错误:

[2012-11-13 21:27:15 - Emulator] X Error of failed request:  BadAlloc (insufficient resources for operation)
[2012-11-13 21:27:15 - Emulator]   Major opcode of failed request:  154 (GLX)
[2012-11-13 21:27:15 - Emulator]   Minor opcode of failed request:  24 (X_GLXCreateNewContext)
[2012-11-13 21:27:15 - Emulator]   Serial number of failed request:  15
[2012-11-13 21:27:15 - Emulator]   Current serial number in output stream:  16

1 个答案:

答案 0 :(得分:1)

一些旧的intel显卡有这个问题,我正在用intel 82865G图形和ubuntu 12.04面对这个问题,一个解决方法是从命令提示符启动模拟器,然后它将使用软件渲染器,转到android-sdks / tools目录和类型:emulator-arm -avd your_avd,使用命令行我能够工作