Debian Jessie Android emulator with GPU emulation

I have problems after upgrading from Wheezy to Jessie Debian ... ADV did a great job with Wheezy

$ ~/android-sdks/tools/emulator -avd MiAVD failed to create drawable getGLES1ExtensionString: Could not create GLES 1.x Pbuffer! Failed to obtain GLES 1.x extensions string! Could not initialize emulated framebufferemulator: ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it. 

Of course, I need to use gpu emulation, so the -gpu off option is not an option.

Instlled gles libraries:

 $ dpkg -l | grep gles ii libgles1-mesa:amd64 10.3.2-1 amd64 free implementation of the OpenGL|ES 1.x API -- runtime ii libgles2-mesa:amd64 10.3.2-1 amd64 free implementation of the OpenGL|ES 2.x API -- runtime ii mesa-utils-extra 8.2.0-1 amd64 Miscellaneous Mesa utilies (opengles, egl) 

I don’t know if my video card is relevant information, but ... this is the result.

 $ lspci | grep VGA 00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) 

Additional information about my configuration

 $ glxinfo | grep OpenGL OpenGL vendor string: VMware, Inc. OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.5, 256 bits) OpenGL version string: 3.0 Mesa 10.3.2 OpenGL shading language version string: 1.30 OpenGL context flags: (none) OpenGL extensions: 

Thank you for your help.

+5
source share
3 answers

After a few weeks, I found that a simple solution ...

 $ ~/android-sdks/tools/emulator -avd MiAVD -gpu mesa 
+3
source

For someone else stuck on this:

In the recommendation above -avd [The name you gave your emulator] -gpu [your meaning here (mine was mesa)]

After that, change the emulated performance parameter in your emulator profile to software.

Works great.

+1
source

try installing the packages below.

 apt-get -y mesa-utils apt-get -y install lib32z1 lib32ncurses5 apt-get -y install lib32stdc++6 apt-get -y install build-essential apt-get -y install freeglut3 freeglut3-dev apt-get -y install libgl1-mesa-dev libglfw-dev 
0
source

All Articles