1 year ago

#351475

test-img

Luigi

kill Android application launched with Monkey without root permissions

I am using Monkey to take measurements on an Android device. I launch a series of applications and after a certain amount of time I should kill one. Is it possible to do this without unlocking the root permissions on the smartphone? I've tried several commands, including:

adb shell am force-stop com.samsung.android.calendar

adb shell am kill com.samsung.android.calendar

Unfortunately these commands don't work or maybe they work on the spot, but after a few seconds Monkey relaunches the application. I found other commands that however require you to unlock the root permissions on the smartphone, which I should avoid.

android

adb

monkey

0 Answers

Your Answer

Accepted video resources