Linux command
adb-connect 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Connect
adb connect [192.168.1.100]:5555
Example
adb connect [192.168.1.100]
Example
adb connect [localhost]:5554
说明
adb connect establishes a TCP/IP connection to an Android device for wireless debugging. Once connected, you can use all adb commands over the network instead of USB. Before connecting wirelessly, the device typically needs to be configured via USB first using adb tcpip 5555 to enable TCP/IP mode. Android 11+ supports direct wireless pairing without initial USB connection.
参数
- host
- IP address or hostname of the Android device
- port
- TCP port number (default: 5555)
FAQ
What is the adb-connect command used for?
adb connect establishes a TCP/IP connection to an Android device for wireless debugging. Once connected, you can use all adb commands over the network instead of USB. Before connecting wirelessly, the device typically needs to be configured via USB first using adb tcpip 5555 to enable TCP/IP mode. Android 11+ supports direct wireless pairing without initial USB connection.
How do I run a basic adb-connect example?
Run `adb connect [192.168.1.100]:5555` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does host do in adb-connect?
IP address or hostname of the Android device