9

I have been hunting around for the afternoon to try to see if there is any way to install older versions of the Android platform-tools. I have tried via sdkmanager and by the older android version but all of them seem to always link to the latest version of platform-tools. I am trying to do this without Android Studio.

This also makes it difficult to create server's with the same version since it is constantly pulling the latest version when we provision a new system. I have looked at the release notes and noticed that depending on the build date our systems have different versions of the platform-tools.

https://developer.android.com/studio/releases/platform-tools

Questions:

  1. Is there a way to download an older version of platform-tools either via command line or on the web?
  2. Is there a way I am missing to specify which version of platform-tools you want to install when using sdkmanager?

Thank you

ALM
  • 2,555
  • 7
  • 31
  • 45

2 Answers2

18

Yes, you could download old version, https://dl.google.com/android/repository/platform-tools_r27.0.0-windows.zip is an example .

change the version number in the link to get your wanted version. another example https://dl.google.com/android/repository/platform-tools_r26.0.0-windows.zip

Edited: If you want to download specific platform tool via sdk manager, firstly uncheck unwanted platforms as below fig, and click apply. enter image description here

Then download platform tool again like below fig: enter image description here

navylover
  • 12,383
  • 5
  • 28
  • 41
  • 2
    I am looking for a command line interface option. https://dl.google.com/android/repository/platform-tools_r26.0.2-linux.zip works though. Funny enough I tried this a few hours ago but maybe I made a typo when putting it in for 26.0.2. Thanks – ALM Nov 23 '18 at 23:55
  • 3
    Use `darwin` instead of `windows` for mac os. – Merk Jun 16 '20 at 18:45
  • 1
    @Merk it's linux instead of darwin. I.e.., https://dl.google.com/android/repository/platform-tools_r30.0.4-linux.rar – Nick Turner Feb 03 '22 at 20:26
  • Even though this works, the sdkmanager tools is not there. Which is disappointing – Nick Turner Feb 03 '22 at 20:27
  • If anyone is looking for a link for MacOS, here it is - https://dl.google.com/android/repository/platform-tools_r34.0.1-darwin.zip – kiradotee Mar 26 '23 at 12:01
0

Additionally, if you want an old version of package tools, click on show package details and you're able to see old versions.

package tools

0xcaff
  • 13,085
  • 5
  • 47
  • 55