1、adb devices
查看所有连接设备。
2、adb -s <设备名> shell
指定device来执行adb shell。
3、adb -s <设备名> <指令>
在指定设备执行指令。
4、通过网络连接 Android 设备:
先需要用有线连接设备开启端口:setprop service.adb.tcp.port 5555
然后 adb connect <ip>:5555 就可以了
1、adb devices
查看所有连接设备。
2、adb -s <设备名> shell
指定device来执行adb shell。
3、adb -s <设备名> <指令>
在指定设备执行指令。
4、通过网络连接 Android 设备:
先需要用有线连接设备开启端口:setprop service.adb.tcp.port 5555
然后 adb connect <ip>:5555 就可以了