Instead of compiling from source (huge effort), use Google’s prebuilt static binaries:
: Performing tasks like unlocking bootloaders, flashing system images, or running adb shell on a secondary device via a USB-OTG connection. Installation Guide
# ADB & Fastboot for Android NDK
Download Platform-Tools for Linux, extract to ~/platform-tools.
Instead of compiling from source (huge effort), use Google’s prebuilt static binaries:
: Performing tasks like unlocking bootloaders, flashing system images, or running adb shell on a secondary device via a USB-OTG connection. Installation Guide
# ADB & Fastboot for Android NDK
Download Platform-Tools for Linux, extract to ~/platform-tools.