从SSH运行时后,Android模拟器无法启动在Ubuntu 12.04 [英] android emulator won't start on ubuntu 12.04 after when run from ssh

查看:539
本文介绍了从SSH运行时后,Android模拟器无法启动在Ubuntu 12.04的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我建的基础上,<一个Android操作系统code href="http://source.android.com/source/building.html">http://source.android.com/source/building.html在Ubuntu 12.04,当我运行模拟器,我发现了错误,仿真器将无法启动:

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?

我要提一提,我连接到​​本机的SSH。当我从Ubuntu的机器上并运行连接,它工作正常,但是当我通过SSH连接到它与我的MacBook的机器,并尝试运行它给了我上面的错误。

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, 拉明

推荐答案

发现了一个工作,昨天各地。

Found out about a work around yesterday.

这个问题似乎与Android的软件开发工具包/工具/仿真器,而emulator- 的手臂似乎很好地工作。

The issue seems to be with android-sdks/tools/emulator, while emulator-arm seems to work fine.

要测试CD到Android的软件开发工具包/ tools目录,​​然后键入: 仿真臂-avd your_avd

To test cd to the android-sdks/tools directory and type: emulator-arm -avd your_avd

看起来这会强制使用软件渲染器,而不是OpenGL的仿真器,但对我来说(使用NX),它的工作。

Looks like this forces the emulator to use the software renderer instead of OpenGL, but for me (using NX) it worked.

我找到了工作,在这里: <一href="https://answers.launchpad.net/ubuntu/+source/xorg/+question/203681">https://answers.launchpad.net/ubuntu/+source/xorg/+question/203681

I found the work around here: https://answers.launchpad.net/ubuntu/+source/xorg/+question/203681

这篇关于从SSH运行时后,Android模拟器无法启动在Ubuntu 12.04的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆