Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ThEMarD/d5c071682cc27c9e0a1080ca399f9294 to your computer and use it in GitHub Desktop.
Save ThEMarD/d5c071682cc27c9e0a1080ca399f9294 to your computer and use it in GitHub Desktop.
Update Ubuntu's platform-tools package manually
If you've installed adb and fastboot via apt install on Ubuntu and realize they're old versions, then here is how to manually update them.
wget https://dl.google.com/android/repository/platform-tools-latest-linux.zip
unzip \platform-tools-latest-linux.zip
sudo cp platform-tools/adb /usr/lib/android-sdk/platform-tools/
sudo cp platform-tools/fastboot /usr/lib/android-sdk/platform-tools/
check that it worked with:
adb --version
fastboot --version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment