Is there a way to install an older version of Android platform-tools?

25.6k Views Asked by At

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

2

There are 2 best solutions below

5
navylover On BEST ANSWER

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

0
0xcaff On

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