You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

logcat.sh 209B

1234567891011
  1. #!/bin/bash
  2. PKG_NAME=${1:-org.jitsi.meet}
  3. APP_PID=$(adb shell ps | grep $PKG_NAME | awk '{print $2}')
  4. if [[ -z "$APP_PID" ]]; then
  5. echo "App is not running"
  6. exit 1
  7. fi
  8. exec adb logcat --pid=$APP_PID