Android模拟器无法与ADB服务器建立连接

时间:2016-04-13 01:38:16

标签: android linux android-emulator

我在瘦客户端上运行Debian Wheezy而且我正在尝试启动Android模拟器。我可以构建图像,以便所有工作。

我使用以下

创建了一个名为Nexus6的设备
  • Android 5.1.1
  • CPU:Intel Atom(x86_64)
  • 皮肤:HVGA
  • RAM:3072
  • VM堆:32

我启动了adb服务器

$ adb start-server
* daemon not running. starting it now on port 5037 *
* daemon started successfully *

我尝试像这样启动模拟器;

/media/data/utils/andriod/android-sdk-linux/tools/emulator -avd Nexus6

我收到此错误

Xlib:  extension "NV-GLX" missing on display "192.168.200.191:7.0".
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  156 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Value in failed request:  0x0
  Serial number of failed request:  17
  Current serial number in output stream:  18
emulator: WARNING: VM heap size set below hardware specified minimum of 192MB
emulator: WARNING: Setting VM heap size to 768MB
Xlib:  extension "NV-GLX" missing on display "192.168.200.191:7.0".
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  156 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Value in failed request:  0x0
  Serial number of failed request:  17
  Current serial number in output stream:  18
adb_server_notify: Failed to establish connection to ADB server
console on port 5556, ADB on port 5557

当我启动adb服务器时,它在IP 192.168.200.4的计算机上启动,但我的瘦客户端正在运行192.168.200.191。当我启动任何命令时,它通常使用服务器启动该命令,但由于某种原因,模拟器正在使用本地终端内核(最有可能的是它尝试使用KVM我认为)。

有没有办法强制模拟器在192.168.200.4计算机上查找adb服务器?

0 个答案:

没有答案