DOS中adb的使用

啓動應用(APK) android

1.adb shell shell

2.am start -a " + action + " -n" + component spa

action:android.intent.action.MAIN component

component:com.android.settings/.Settings   本項爲應用的package name io


將logcat信息保存到文件中 test

adb logcat -d -f /mnt/sdcard/test.txt gc

相關文章
相關標籤/搜索