查看某个app的包名和activity
adb logcat|find "START"
adb logcat|find "START" >>10.txt
启动app
adb shell am start -W -n package/activity
查看电量情况
adb shell dumpsys battery
修改安卓手机为非充电状态
adb shell dumpsys battery status set 1
若有多个链接手机,则可以指定设备号
adb -s device1 reboot
重启手机
adb shell reboot -p






网友评论