1 example for adb

{{ score }}
  # list all connected devices
adb devices

# send command to a specific connected device by ID
adb -s emulator-5554 

# install an APK, overwriting any existing installation
adb install -r path/to/MyApp.apk

# uninstall an APK
adb uninstall com.mycompany.myapp

# enable debug logs for specific log tag
adb shell setprop log.tag.MyLogTag DEBUG

# uninstall an APK, keeping any app data (useful for testing new app code on top of old preferences or databases)
adb shell pm uninstall -k com.mycompany.myapp