习惯命令

来源:互联网 发布:网络瓶颈有哪些 编辑:程序博客网 时间:2024/05/29 19:20

1、  adb shell ps | findstr systemui

adb shell kill -9 xxxx(pid)


2、  git reset --hard commitId


3、  git log --pretty=oneline path 查看某文件的修改记录


4、  adb logcat -c 

adb logcat -v time >e:\log.txt  保存log


5、grep -wnrs keyword


6、adb shell am broadcast -a com.android.test --es test_string "this is test string" --ei test_int 100 --ez test_boolean true
说明:蓝色为key,红色为value,分别为String类型,int类型,boolean类型

0 0
原创粉丝点击