//断开指定连接
adb disconnect ip
//断开所有连接
adb disconnect
打开app指定页面
adb shell am start -n "packName/packName.LaunchActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER'
关闭app
adb shell am force-stop packName
安装app
adb install -r -d -t -g d:/apk/example.apk
卸载app
adb uninstall packName
推送文件
adb push D:\test /test
删除文件
adb shell rm -rf /test
修改时间
adb connect ip
adb shell
su root
date 1113141522 #月日时分年
date 101716502022.12 #月 日 时 分 年.秒
adb shell am broadcast -a com.hra.setSystemTime --el time 21545254545