Hi, I've never tried using MonkeyRunner over TCP. There is a bunch of stuff inside MonkeyRunner that assumes you're connecting to the device over USB. Without changing the MonkeyRunner source code, I'm not sure it's possible to connect to a device over TCP. I'll take a look at it and see if I can add that feature.
Bill On Mon, May 16, 2011 at 8:34 AM, Tiago Maluta <[email protected]>wrote: > Hi. > > I'm using ADB over TCP [1] to access my device and it's working [2] but > when I try to use my monkeyrunner script I got some errors, like: > > dev = MonkeyRunner.waitForConnection(20,"192.168.50.14:7001") > 110516 12:26:31.171:S [MainThread] > [com.android.monkeyrunner.adb.AdbMonkeyDevice] Adb rejected adb port > forwarding command: unknown host service > > -OR- > > dev = MonkeyRunner.waitForConnection(20,"192.168.50.14") > > Returns 'NoneType' to dev. Even when I have only one device attached and > try waitForConnection() without parameters I got "Adb rejected adb port > forwarding command: unknown host service" > > Somebody has a suggestion how can I proceed to fix that? > > Best regards, > > --tm > > > [1] > $ adb devices > List of devices attached > 192.168.50.14:7001 device > > [2] > $ adb -s 192.168.50.14:7001 shell getprop ro.product.cpu.abi > armeabi-v7a > > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

