Swind / pure-python-adb

This is pure-python implementation of the ADB client.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is adb running on your computer?

YuvrajRaghuvanshiS opened this issue · comments

I am using your package to work on my project github.com/YuvrajRaghuvanshiS/Whatsapp-Key-Database-Extractor and replacing traditional ADB with ppadb however sometimes when I stop process in the middle it does not close process on it's own neither it does on re-run and I get stuck with
RuntimeError: ERROR: connecting to 127.0.0.1:5037 [WinError 10061] No connection could be made because the target machine actively refused it.
Is adb running on your computer?
I'm uploading screenshot. Please let me know what am I missing because I could not seem to find an answer.
image

Just run adb devices or any other command, it will start the server on you computer. https://developer.android.com/studio/command-line/adb

Thank you for reply. Tried that but unfortunately did not work.
My motive to use this insread of regular adb was to list devices instead of just printing them out on screen to create a menu like interface. I did that by working on lists. Here : https://raw.githubusercontent.com/YuvrajRaghuvanshiS/WhatsApp-Key-Database-Extractor/master/helpers/ADBDeviceSerialId.py