Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

like image 366
ALM Avatar asked Nov 23 '18 22:11

ALM


1 Answers

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

like image 84
navylover Avatar answered Oct 20 '22 21:10

navylover