luseweixiao / Android

0 stars 0 forks source link

adb 实操方法 #5

Open luseweixiao opened 1 year ago

luseweixiao commented 1 year ago

adb 在运维中的使用

luseweixiao commented 1 year ago

1、adb 连接设备 usb连接 tcp连接 adb connect ip:5555 adb disconnect ip:5555

2、查看系统时间 adb shell date

3、发送文件到设备 adb shell push app.apk /

4、安装软件 adb shell install app.apk 还可以加参数 -r