Linux command
adb-devices 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
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)