Skip to content Skip to sidebar Skip to footer

Monkeyrunner Throwing "shellcommandunrespo​nsiveexception" - Any Work Around?

I am facing some issues in device.shell('ping -c 2 192.168.1.1') inside a monkeyrunner script. Its throwing ShellCommandUnrespo‌​nsiveException [main] [com.android.chimpchat.a

Solution 1:

your ping waits to long

add a -t

start with -t 1

Solution 2:

Just add -t . An example below works perfectly !

device.shell('pm enable packageName -t 15')

Post a Comment for "Monkeyrunner Throwing "shellcommandunrespo​nsiveexception" - Any Work Around?"