Ever wanted to download adb or fastboot without having to download the whole of Android Studio?
Posted by jpluimers on 2017/01/10
These links will always return the adb/fastboot binaries currently shipping with Android Studio. No need to guess what the current version is, or update your own links: just follow these and get the latest binaries, direct from the source.
A package manager is overkill. `wget -O adb.zip https://dl.google.com – dl.google.com/android/repository/platform-tools-latest-linux.zip && unzip -d ~/bin/ adb.zip && export PATH=”$PATH;~/bin/platform tools”` should let you call `adb devices` and you can add the export to your .bashrc if you want it always available without changing into ~/bin/platform tools.
Any chance we can get something to tell us when it is updated? I know you probably don’t care about bandwitdh, but would be nice to know when updates are pushed.
Or, you can install adb & fastboot from the repo’s then run this script every once in awhile to stay up to date:
sudo cp platform-tools/adb /usr/bin/adb
sudo cp platform-tools/fastboot /usr/bin/fastboot