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 就可以了
订阅后即可通过电子邮件收到最新文章。