Signature

Kill Android process via adb shell

Dec 17, 2014

Android ADB shell stop application like “force-stop” for non rooted device.

1. Find package id, use Google Keep as example
adb shell pm list package -f | grep keep
package:/data/app/com.google.android.keep-1/base.apk=com.google.android.keep
2. Enter ADB shell
adb shell
3. Enter application debuging mode
run-as "com.google.android.keep"
4. Find the process ID
ps | grep "com.google.android.keep"
73254 ttys009    0:00.00 grep com.google.android.keep
5. Kill process
kill -9 73254
6. Done :D

References:

Android Debug Bridge

Stopping an Android app from console

Android mulitple way to stop application