← 返回命令列表

Linux command

adb-disconnect 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Disconnect

adb disconnect [192.168.1.100]:5555

Example

adb disconnect

说明

adb disconnect terminates wireless adb connections. When called without arguments, it disconnects all connected TCP/IP devices. With a specific host and port, it disconnects only that device. This command only affects wireless connections; USB-connected devices remain connected until physically unplugged.

参数

host
IP address or hostname of the device to disconnect
port
TCP port number (default: 5555)

FAQ

What is the adb-disconnect command used for?

adb disconnect terminates wireless adb connections. When called without arguments, it disconnects all connected TCP/IP devices. With a specific host and port, it disconnects only that device. This command only affects wireless connections; USB-connected devices remain connected until physically unplugged.

How do I run a basic adb-disconnect example?

Run `adb disconnect [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-disconnect?

IP address or hostname of the device to disconnect