I built the android source code based on the http://source.android.com/source/building.html on Ubuntu 12.04 and when I run the emulator I'm getting the error and emulator won't start:
WARNING: Application calling GLX 1.3 function "glXCreatePbuffer" when GLX 1.3
is not supported! This is an application bug!
X Error of failed request: GLXUnsupportedPrivateRequest
Major opcode of failed request: 146 (GLX)
Minor opcode of failed request: 16 (X_GLXVendorPrivate)
Serial number of failed request: 20
Current serial number in output stream: 22
Any idea how can I fix that?
I need to mention that I connect to the machine with SSH. When I connect from an Ubuntu machine and run, it works fine but when I connect to it with my macbook machine through the SSH and try to run it gives me above error.
BR, Ramin
Found out about a work around yesterday.
The issue seems to be with android-sdks/tools/emulator, while emulator-arm seems to work fine.
To test cd to the android-sdks/tools directory and type:
emulator-arm -avd your_avd
Looks like this forces the emulator to use the software renderer instead of OpenGL, but for me (using NX) it worked.
I found the work around here: https://answers.launchpad.net/ubuntu/+source/xorg/+question/203681
This error probably indicates the app requires direct access to the screen. Using nx rather than X over SSH may avoid the problem. Look if there is a run time option on the emulator too.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With