Swind/pure-python-adb

ppadb over a network

kleicester opened this issue · 1 comments

is it possible to run ppadb over a network?

i.e. run the python script on one PC and replace the '127.0.0.1' IP with the static IP of the PC with the android devices connected.

I have tried this with no luck, looking on the android PC, it says the 5037 ports are established.

if you are using emulation there is port forwaarding,
in which case you use adb.remote_connect(host_ip, port)
host_ip being 127.0.0.1 naturally

emulator port numbers are all over the place so check the vm files, im still figuring this out for multi-device code