I am trying to use monkeyrunner to automate a few tests on the device
but keep running into the following error on a touch() or press()
call.

110401 11:47:40.034:S [main]
[com.android.monkeyrunner.adb.AdbMonkeyDevice] Erro
r sending touch event: 240 720 DOWN_AND_UP
110401 11:47:40.034:S [main]
[com.android.monkeyrunner.adb.AdbMonkeyDevice]java.
net.SocketException: Software caused connection abort: socket write
error
110401 11:47:40.034:S [main]
[com.android.monkeyrunner.adb.AdbMonkeyDevice]
at java.net.SocketOutputStream.socketWrite0(Native Method)
110401 11:47:40.034:S [main]
[com.android.monkeyrunner.adb.AdbMonkeyDevice]
at java.net.SocketOutputStream.socketWrite(Unknown Source)
110401 11:47:40.034:S [main]
[com.android.monkeyrunner.adb.AdbMonkeyDevice]
at java.net.SocketOutputStream.write(Unknown Source)
110401 11:47:40.034:S [main]
[com.android.monkeyrunner.adb.AdbMonkeyDevice]
at sun.nio.cs.StreamEncoder.writeBytes(Unknown Source)
.............
.............
.............
110401 11:47:40.034:S [main]
[com.android.monkeyrunner.adb.AdbMonkeyDevice]
at com.android.monkeyrunner.ScriptRunner.console(ScriptRunner.java:
193)
110401 11:47:40.034:S [main]
[com.android.monkeyrunner.adb.AdbMonkeyDevice]
at
com.android.monkeyrunner.MonkeyRunnerStarter.run(MonkeyRunnerStarter.java:
89)

110401 11:47:40.034:S [main]
[com.android.monkeyrunner.adb.AdbMonkeyDevice]
at
com.android.monkeyrunner.MonkeyRunnerStarter.main(MonkeyRunnerStarter.java:
20
3)


However the calls for shell() method works fine. What might I be doing
wrong?
The same code works well on the eumlator.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to