Android 只获取特定包名log

此命令用于在Ubuntu命令行中获取指定包名(应用)的所有log信息:

adb logcat --pid=$(adb shell pidof -s pkg_name)

把pkg_name换成需要过滤的应用包名即可,特此记录。

StackOverFlow

猜你喜欢

转载自blog.csdn.net/hello_java_Android/article/details/90109704