ADB常用命令

启动adb start-server
关闭adb kill-server
获取设备号adb devices
获取系统版本adb -s 设备号  shell getprop ro.build.version.release
发送文件到手机adb push 电脑路径/文件名 手机路径
从手机拉取文件adb pull 手机路径/文件名 电脑路径
查看手机运行日志adb logcat
手机shell命令行adb shell
获取app启动包和启动名adb shell dumpsys window windows | grep mFocusedAppadb shell dumpsys window windows |   findstr mFocusedApp
安装app到手机adb install 路径/ xx.apk
卸载手机adb uninstall 包名
获取app启动时间adb shell am start -W com.yly.drawpic/.MainActivity

Totaltime:app自身启动时间

Waittime:系统启动应用时间

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值