通过WiFi的多个adb连接 [英] Multiple adb connections over WiFi
问题描述
我们是两个人,想从每个笔记本连接到 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部分:
- 守护程序(在设备上运行)
- 服务器(在主机PC上运行)
- client (通常与服务器在同一主机PC上运行)
- daemon (runs on a device)
- server (runs on a host PC)
- 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屋!