0

I am attempting to run a Script from Machine 1. [Script would be calabash or Appium]. In machine 1 i didnt connected any device and In machine 2 I have connected 2 Android devices.

Machine 1 and Machine 2 are connected via LAN. so I can able to ping machine 2 from machine 1.

Now My question is Is there any posibility to Access devices via adb which is conneced in Machine 2. So that i can able to run my Script ?

I am using two windows machine.

1

1 Answer 1

0

Yes, you can do that using adb connect REMOTE_MACHINE_IP:XXXX .

where XXXX is the port of the remote machine.

Sources:

http://www.41post.com/5003/programming/android-adb-remote-emulator-access

https://stackoverflow.com/questions/13278429/how-to-set-up-adb-for-remote-machine-development-and-local-device-deployment

4
  • Is that possible to Run Script from Machine 1. ?
    – Yusuf M
    Jan 5, 2016 at 12:11
  • @YusufM as per the stack overflow answer, it should work, but i havent tried running script. Jan 5, 2016 at 12:15
  • adb connect requires the PC and device to be connected under hotspot/Wi-Fi/USB_tethering. None of the conditions are true here, unless I'm missing something.
    – Firelord
    Jan 5, 2016 at 13:08
  • @Firelord so without adb I am not able to run calabash script on machine 2.. Am I correct ? So any other possibility to bring up that devices on machine 1 without using remote..? ?
    – Yusuf M
    Jan 5, 2016 at 17:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .