常用命令
300 550
adb logcat -c
adb logcat -s TAG
eclipse:
查看一个override方法所在父类快捷键:ctrl + o 两次
查看一个接口方法的实现 : Ctrl+T
adb root
adb remount
git log --pretty=oneline
https://blog.csdn.net/wh_19910525/article/details/7468549
git log --pretty=format:"%zhangdan : %cd %s"
git log --oneline
git branch -a | grep xxx
git blame src/cn/nubia/supersnap/SuperSnapApplication.java
统计代码行数:
find . -name *.java | xargs wc -l
Reyun.db Reyun.db-journal flycow_db.db flycow_db.db-journal
adb pull /data/data/cn.nubia.flycow/databases/** D:\
adb pull /data/misc/wifi/wpa_supplicant.conf D:\adbpull
adb push C:\Users\nubia\Desktop\123.doc /sdcard/111
push整个文件夹,后面加.
adb push C:\Users\nubia\Desktop\. /sdcard/111
adb shell
am start -n com.android.documentsui/com.android.documentsui.DocumentsActivity
am start -n cn.nubia.flycow/cn.nubia.flycow.apps.AppInstallActivity
am start -n com.android.documentsui/com.android.documentsui.LauncherActivity
am start -n cn.nubia.flycow/cn.nubia.share.ui.TabSelectActivity
am start -n cn.nubia.flycow/cn.nubia.flycow.ui.SelectDataActivity
am start -n cn.nubia.flycow/cn.nubia.share.ui.list.TransferListActivity
sdk - platform下:
hprof-conv 1.hprof 2.hprof
>adb shell dumpsys meminfo cn.nubia.flycow
>adb shell dumpsys activity activities > 1.txtx
start .