根据包名查进程id
adb shell ps | grep -i com.amazon.avod.thirdpartyclient | awk '{print $2}'
查看对应进程的logcat,如进程号为3435的log
adb logcat -v time |grep -E "3435|AndroidRuntime"
根据包名过滤logcat的bash脚本(mac电脑)
OUT=$(adb shell ps |
根据包名查进程id
adb shell ps | grep -i com.amazon.avod.thirdpartyclient | awk '{print $2}'
查看对应进程的logcat,如进程号为3435的log
adb logcat -v time |grep -E "3435|AndroidRuntime"
根据包名过滤logcat的bash脚本(mac电脑)
OUT=$(adb shell ps |