【问题标题】:Connecting android device over TCPIP通过 TCPIP 连接安卓设备
【发布时间】:2013-09-13 14:52:14
【问题描述】:

我正在尝试通过 tcpip 连接我的 android 设备,这是我目前的经验:

$ ./adb tcpip
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
restarting in TCP mode port: 67

$ ./adb connect 192.168.1.250:67
unable to connect to 192.168.1.250:67:67

$ ./adb connect 192.168.1.250
unable to connect to 192.168.1.250:5555

然后我做了:

$ ./adb kill-server

然后:

$ ./adb tcpip 5555
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
$ ./adb connect 192.168.1.250
connected to 192.168.1.250:5555
  1. 为什么我只有在执行./adb tcpip 5555 和之后才能连接?
  2. 为什么我无法通过./adb connect 192.168.1.250:67 连接
  3. ./adb tcpip 的 o/p 上的这些消息是什么意思?

    • 守护程序未运行。现在在端口 5037 上启动它 *
    • 守护进程启动成功 *

      在 TCP 模式下重启端口:67

adb kill-server 不需要。我能做到:

adb tcpip 5555 给出:以 TCP 模式重新启动端口:5555

上面的信息是什么意思?

【问题讨论】:

    标签: android tcp ip adb


    【解决方案1】:

    根据我刚看过的一个页面,服务器只能在编号为5555到5585的端口启动。

    “要记住的一点是,您只能选择 [5555...5585] 范围内的端口号(原因是 ADB Server 仅适用于这些端口)。例如,您可以这样做:

    adb tcpip 5555"(通过http://www.chentir.com/?p=1613

    【讨论】:

      猜你喜欢
      • 2014-07-15
      • 1970-01-01
      • 2014-07-19
      • 2015-05-09
      • 1970-01-01
      • 2014-01-31
      • 2015-02-13
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多