通过WiFi的多个adb连接 [英] Multiple adb connections over WiFi

查看:159
本文介绍了通过WiFi的多个adb连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们是两个人,想从每个笔记本连接到 android设备。连接一个人后,另一个人会得到设备处于脱机状态错误。

We are two people and want to connect to a android device from each respective notebook. When one person is connected, the other person gets a device is offline error.

是否可以通过 adb shell 从多台计算机到单个 android设备

Is it possible to connect via adb shell to a single android device from multiple machines?

推荐答案

adb 有3部分:


  1. 守护程序(在设备上运行)

  2. 服务器(在主机PC上运行)

  3. client (通常与服务器在同一主机PC上运行)

  1. daemon (runs on a device)
  2. server (runs on a host PC)
  3. client (usually runs on the same host PC as server)

当前从立场看,守护程序当时仅允许来自服务器的1个连接。 服务器部分完成多路复用,并允许多个 clients 同时运行多个命令。

As it currently stands, the daemon allows only 1 connection from a server at the time. It is the server part which does the multiplexing and allows multiple clients run multiple commands simultaneously.

而不是每个人都尝试运行自己的 server -让一个人运行 server ,而另一个人像我解释的那样远程使用 server 这里。

In your case instead of every person trying to run their own server - let one person to run the server and the other one use that server remotely like I explained here.

这篇关于通过WiFi的多个adb连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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