最終更新:2021-12-13 (月) 02:26:31 (876d)  

adb tcpip
Top / adb tcpip

restarts the adbd daemon listening on TCP on the specified port

adb tcpip <port>

http://developer.android.com/guide/topics/connectivity/usb/index.html

adb tcpip 5555
adb connect <device-ip-address>:5555

実行すると下記が有効になる

adb tcpipを実行したときのadbdの動作

デバイス単体で切り替え

  • android端末のターミナルより
    setprop service.adb.tcp.port 5555
    stop adbd
    start adbd
  • とすることで、Androidの実機単体でも可能。

関連

参考