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

限于喜欢 提交于 2019-12-11 08:32:59

问题


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


回答1:


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.

Then download platform tool again like below fig:



来源:https://stackoverflow.com/questions/53453640/is-there-a-way-to-install-an-older-version-of-android-platform-tools

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!