有没有办法安装旧版本的Android平台工具? [英] Is there a way to install an older version of Android platform-tools?
问题描述
我一直在下午闲逛,尝试看看是否有任何方法可以安装 Android
platform-tools
。我已经尝试通过 sdkmanager
和较旧的 android
版本进行尝试,但是它们似乎始终都链接到最新版本的平台工具
。我正在尝试不使用 Android Studio
。
这也使得创建具有相同版本的服务器变得困难因为我们在提供新系统时会不断拉动最新版本。我查看了发行说明,发现根据构建日期,我们的系统具有 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:
- Is there a way to download an older version of
platform-tools
either via command line or on the web? - Is there a way I am missing to specify which version of
platform-tools
you want to install when usingsdkmanager
?
Thank you
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:
这篇关于有没有办法安装旧版本的Android平台工具?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!