Fur*_*ell 14 android android-emulator android-source ubuntu-12.04
我在Ubuntu 12.04上基于http://source.android.com/source/building.html构建了android源代码,当我运行模拟器时,我收到错误并且模拟器无法启动:
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
Run Code Online (Sandbox Code Playgroud)
知道怎么解决这个问题?
我需要提一下,我用SSH连接到机器.当我从Ubuntu机器连接并运行时,它工作正常,但当我通过SSH与我的macbook机器连接到它并尝试运行它给我上面的错误.
BR,Ramin
小智 10
找到了昨天的工作.
这个问题似乎与android-sdks/tools/emulator有关,而emulator- arm似乎运行正常.
要测试cd到android-sdks/tools目录并输入:
emulator-arm -avd your_avd
看起来这会强制模拟器使用软件渲染器而不是OpenGL,但对我来说(使用NX)它起作用了.
我找到了这里的工作:https: //answers.launchpad.net/ubuntu/+source/xorg/+question/203681