Table of Contents

  1. Installation
  2. UI


# kill the app
adb shell am force-stop <YOUR_APK_PACKAGE_NAME>
adb shell killall <YOUR_APK_PACKAGE_NAME>

# uninstall the app
adb uninstall <YOUR_APK_PACKAGE_NAME>

# upgrade the app to newer version
adb install -r <YOUR_APK_FILE_NAME>


# show the class name of the activity in foreground
adb shell dumpsys window windows | grep -E 'mCurrentFocus|mFocusedApp'
Last modified 3 years ago Last modified on Jan 29, 2016, 3:53:32 AM