Kill Android process via adb shell
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