返回命令列表

Linux command

adb-devices 命令

文本

Copy it and replace filenames, paths, or keywords as needed.

命令示例

List

adb devices

Example

adb devices -l

说明

adb devices lists all Android devices currently connected to the computer, whether via USB or wireless connection. The output shows device serial numbers and their connection states. Device states include: device (connected and ready), offline (not responding), unauthorized (USB debugging not authorized), no permissions (Linux udev rules issue), and bootloader (in fastboot mode).

参数

-l
Long output format showing additional device information (product, model, device, transport_id)

FAQ

What is the adb-devices command used for?

adb devices lists all Android devices currently connected to the computer, whether via USB or wireless connection. The output shows device serial numbers and their connection states. Device states include: device (connected and ready), offline (not responding), unauthorized (USB debugging not authorized), no permissions (Linux udev rules issue), and bootloader (in fastboot mode).

How do I run a basic adb-devices example?

Run `adb devices` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -l do in adb-devices?

Long output format showing additional device information (product, model, device, transport_id)