This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from ppadb.client import Client as AdbClient | |
import time | |
# Default is "127.0.0.1" and 5037 | |
# initializing AdbClient() | |
client = AdbClient(host="127.0.0.1", port=5037) | |
devices = client.devices() | |
if len(devices) == 0: |