如何在 Eclipse 中安装旧版 Android SDK Platform-tools 23.0.1?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/38595231/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 23:15:27  来源:igfitidea点击:

How to install older Android SDK Platform-tools 23.0.1 in Eclipse?

androideclipse

提问by f470071

I have made a mistake of upgrading my Platform-tools from Android SDK Manager.
As a consequence I cannot launch my project.
There is something wrong with launching the project. I get the error:

我在从 Android SDK 管理器升级我的平台工具时犯了一个错误。
因此,我无法启动我的项目。
启动项目有问题。我收到错误:

[2016-07-26 18:20:57 - MyAppliaction] The connection to adb is down, and a severe error has occured.
[2016-07-26 18:20:57 - MyAppliaction] You must restart adb and Eclipse.
[2016-07-26 18:20:57 - MyAppliaction] Please ensure that adb is correctly located at 'C:\Program Files\Android\android-sdk\platform-tools\adb.exe' and can be executed.

If i try to execute adb via command line I get:

如果我尝试通过命令行执行 adb 我得到:

The procedure entry point WSAPoll could not be located in the dynamic link library WS2_32.dll.

在动态链接库 WS2_32.dll 中找不到过程入口点 WSAPoll。

Eclipse version: Version: Kepler Service Release 2
Windows XP
Android SDK tools: 25.1.7
Android Platform-tools: 24.0.1

I would like to revert to the last vesrion I know which worked, but this is not available any more in Android SDK Manager.

我想恢复到我知道哪个有效的最后一个版本,但这在 Android SDK 管理器中不再可用。

I have tried substituting some old adb in folder platform-tools, but that does not work either. How to return to older working version of Platform-tools?

我曾尝试在文件夹平台工具中替换一些旧的 adb,但这也不起作用。如何返回到旧的平台工具工作版本?

回答by OneCricketeer

You can try to download version 23.0.1for windows from this link

您可以尝试23.0.1从此链接下载适用于 Windows 的版本

http://dl.google.com/android/repository/platform-tools_r23.0.1-windows.zip

http://dl.google.com/android/repository/platform-tools_r23.0.1-windows.zip

Then, you may navigate to the Android SDK download location, backup the existing platform-toolsfolder for safe-keeping just in-case, and extract that zip there.

然后,您可以导航到 Android SDK 下载位置,备份现有platform-tools文件夹以备不时之需,然后在那里解压缩该 zip。