//查看当前连接的设备
adb devices

//通过adb执行shell命令
adb shell <command>

//安装APK应用
adb install <APK Path>

//卸载APK应用
adb uninstall <packagename>

//清除应用数据与缓存
adb shell pm clear <packagename>

//通过ip连接设备   
adb connect <ip:port>

//断开所有无线连接的设备
adb disconnect

//断开指定无线连接设备
adb disconnect <ip:port>

//多个设备时要操作某个设备
adb -s <device> <command>
最后修改:2020 年 11 月 19 日 11 : 02 PM
如果觉得我的文章对你有用,请随意赞赏