Open
Description
android-tools 35.0.0 and later uses libusb by default on Linux. (See also: https://developer.android.com/tools/releases/platform-tools)
On Fedora Linux 40 x86_64 and postmarketOS v24.06 aarch64 (based on Alpine Linux v3.20) which packages android-tools 35.0.1, adb fails to detect devices over USB.
A workaround is adding ADB_LIBUSB=0
to the environment. (ex. ADB_LIBUSB=0 adb devices -l
)
Downstream report: https://gitlab.alpinelinux.org/alpine/aports/-/issues/16326