Last active
February 2, 2018 17:21
-
-
Save h3nr1ke/9a779b34151885958591a48f60064ade to your computer and use it in GitHub Desktop.
adb useful commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# --- read only needed information from adb logcat | |
# adb logcat *:<OPTION> | |
#the priorites are (from lowest to highest ) | |
# V — Verbose (lowest priority) | |
# D — Debug | |
# I — Info | |
# W — Warning | |
# E — Error | |
# F — Fatal | |
# S — Silent ( nothing is ever printed ) | |
# ----- examples ----- | |
#--- display Error and Fatal messages | |
adb logcat *:E | |
#--- display Debug, Info, Warning, Error and Fatal | |
adb logcat *:D | |
#--- uninstall apk | |
adb uninstall <pacakge.name.of.your.app> | |
#--- install new apk | |
adb install /path/to/apk | |
#--- run app | |
adb shell monkey -p <pacakge.name.of.your.app> -c android.intent.category.LAUNCHER 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment