You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
running adb devices is how I get the names of my devices. If I don't have a device name I cannot connect to it. Is there an option to list all connected devices?
The text was updated successfully, but these errors were encountered:
You can use UsbTransport.find_all_adb_devices() to get a list of UsbTransport objects that correlate to devices. On each entry returned by the generator, you can get the serial_number attribute to get the serial number. Then you can use AdbDeviceUsb to connect to them.
Note: in some cases you can run into usb1.USBErrorAccess: LIBUSB_ERROR_ACCESS [-3] either while creating the AdbDeviceUsb instance or when you call connect() on it. This is caused by the standard ADB daemon running in the background and locking the device accessors, so just make sure you kill the ADB server before creating the device object and connecting to it:
Description
running
adb devices
is how I get the names of my devices. If I don't have a device name I cannot connect to it. Is there an option to list all connected devices?The text was updated successfully, but these errors were encountered: