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

相关文章
相关标签/搜索