Jeff Irion
Jeff Irion
Do you have a file `/root/.emulator_console_auth_token`? If so, try using that in your `connect_to_device` function.
Have you had a chance to try using the key `/root/.emulator_console_auth_token` (if it exists)?
> Hello, Jeff, sorry for the silence, there was no access to the computer > Yes, i have `/root/.emulator_console_auth_token`. Should I use it instead of `~ / .android / adbkey`?...
Can you post the output from this, as you did before. > ```python > adb_controller = Controller("localhost", 5556) > try: > adb_controller.connect_to_device(timeout=10) > except: > pass > print(adb_controller.device._handle.bulk_read(1000, 5)) >...
I need debug logs to see the data that's being sent and read. ```python import logging import os from adb_shell import adb_device from adb_shell.auth.sign_pythonrsa import PythonRSASigner logging.getLogger().setLevel(logging.DEBUG) class Controller: def...
@kunzhipeng your issue is different. I changed the title of this issue to reflect that it is about an error when trying to connect to an Android emulator. I think...
@combacsa try using the key `/Users/khbyun/.emulator_console_auth_token`, if it exists.
> Is this code being maintained any more when I try to connect to a firetv device it just fails "ConnectionResetError: [Errno 104] Connection reset by peer" > > I...
Try this: ```python import os os.add_dll_directory('C:\\Users\\Public\\Documents') from adb_shell.adb_device import AdbDeviceUsb from adb_shell.auth.sign_pythonrsa import PythonRSASigner # Load the public and private keys adbkey = 'C:\\Users\\Public\\Documents\\adbkey' with open(adbkey) as f: priv =...
You can provide `transport` to the `AdbDevice` class, but don't provide it to the `AdbDeviceUsb` class. I recommend using the first of the two code snippets that I provided. Nothing...