Swind / pure-python-adb

This is pure-python implementation of the ADB client.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

python-adb freezes when connecting to bluestacks app player

sunnad99 opened this issue · comments

When I try to launch the following script for Bluestacks 10's app player, my interpreter just freezes. The freeze occurs whenever I call a method of the Client class (devices, version etc...)

from ppadb import client


adb = client.Client(host='127.0.0.1', port=5555)
print(adb.devices())

There is no error that is thrown and I cannot even keyboard interrupt the interpreter. I have to force close it from task manager.

Ahh Alright, I understand now, that makes sense. So to connect ppadb to my device, I do need to have adb running. I assumed this library would not require adb from the android website but now its pretty clear. Thank you for the swift response!