无法运行Android模拟器(BadAlloc(操作资源不足))

时间:2015-09-28 23:02:37

标签: android runtime-error emulation execution bad-alloc

我无法运行我的Android模拟器。当我运行应用程序时,我在控制台中获得以下内容:

/home/thom/Programs/android-sdk-linux/tools/emulator -avd Nexus_5_API_23 -netspeed full -netdelay none
X Error of failed request:  BadAlloc (insufficient resources for operation)
  Major opcode of failed request:  149 ()
  Minor opcode of failed request:  2
  Serial number of failed request:  35
  Current serial number in output stream:  36

我发现了许多类似的错误,但我找不到适用于我的错误的解决方案。

1 个答案:

答案 0 :(得分:0)

安装32位图形驱动程序。 lib32-mesa-libgl xf86-video-intel mesa-libgl libva-intel-driver libva

对于Archlinux,在pacman.conf和

中启用multilib
  

sudo pacman -S lib32-mesa-libgl xf86-video-intel mesa-libgl libva-intel-driver libva