The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My work

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,310 other followers

Ever wanted to download adb or fastboot without having to download the whole of Android Studio?

Posted by jpluimers on 2017/01/10

Quotes from [WayBack] Ever wanted to download adb or fastboot without having to download the whole of Android Studio?…but didn’t want to download executables from some… – Elliott Hughes – Google+

Article:

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.

Comments:

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.
+Elliott Hughes 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.

+dragon788 dragon_788 Or, you can install adb & fastboot from the repo’s then run this script every once in awhile to stay up to date:

#!/bin/bash
wget https://dl.google.com/android/repository/platform-tools-latest-linux.zip
unzip \platform-tools-latest-linux.zip
sudo cp platform-tools/adb /usr/bin/adb
sudo cp platform-tools/fastboot /usr/bin/fastboot

–jeroen

via: [WayBack] finally.gif… – Koushik Dutta (Koush) – Google+

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: