Skip to content

adb fails to find devices over USB with libusb (android-tools 35.0.1) #153

Open
@omasanori

Description

@omasanori

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions