Android/Linux: Error of failed request: BadAlloc (insufficient resources for operation)

怎甘沉沦 提交于 2019-12-12 03:47:05

问题


Getting below error while running android emulator:

[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:


Some old intel graphics card have this problem, I am facing this problem with intel 82865G graphic and ubuntu 12.04, one work around for this is to launch emulator from command prompt, then it will use software renderer, go to android-sdks/tools directory and type: emulator-arm -avd your_avd, Using command line I am able to work



来源:https://stackoverflow.com/questions/13364118/android-linux-error-of-failed-request-badalloc-insufficient-resources-for-ope

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!