Skip to content

Instantly share code, notes, and snippets.

@Bruno-Furtado
Last active January 28, 2020 13:37
Show Gist options
  • Save Bruno-Furtado/331da08ffcce9f58066e1b537cf98caa to your computer and use it in GitHub Desktop.
Save Bruno-Furtado/331da08ffcce9f58066e1b537cf98caa to your computer and use it in GitHub Desktop.
Android Debug Bridge commands
# Get all the logs from device
adb logcat *:V > "adb_all_verbose.txt"
# Get the errors logs from device
adb logcat *:E > "adb_all_errors.txt"
# Get all the app logs from device
adb logcat com.example.app:V > "adb_app_verbose.txt"
# Get the app errors logs from device
adb logcat com.example.app:E > "adb_app_errors.txt"
# Kill ADB server
adb kill-server
# Start ADB server
adb start-server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment