I am developing an app, and for debugging certain actions on first installation I found that using the terminal command:
./adb uninstall <package-name>
was a lot fast than navigating to settings, apps, waiting for the apps to load, finding your app, and uninstalling it. I would strongly recommend it for anyone that doesn't already use it for debugging.
Now I am trying to work on the force close part of my app, and I can't find anywhere in the android doc, instructions on how to force close an app by adb command.
Is it possible?
You can close one by his pid using
adb shell kill <PID>
but I'm not sure of doing it with a package name.