Open jenniejj opened 3 years ago
I have the problem too. ADB in comandline work well. But I cannot connect in python. Windows + Bluestacks
@jenniejj
If you have connected your device via USB, do this:
`from ppadb.client import Client as AdbClient
client = AdbClient(host="127.0.0.1", port=5037) # or just do client = AdbClient() if you want to leave default as is.
device = client.device("
If you have connected wireless: `from ppadb.client import Client as AdbClient
client = AdbClient(host="127.0.0.1", port=5037) #or just do client = AdbClient() if you want to leave default as is.
device = client.device("
While using this:
I can never get it connected, it just hangs.
If I try to do the same and connect by following adb kill-server adb USB adb tcpip 5555 unplug/plug USB cable connect 192.168.1.10:5555
I get Connected to 192.168.1.10:5555
and I can also see it connected by using adb devices
What is wrong and how can I debug this?