更新时间:2023-09-25 17:41:34
好的.经过一番研究发现,这是因为
OK. after some research found that reason for this is because
android-sdk-linux/platform-tools 内容为 32 位23.0.1 中的 ELF 但 23.1_rc1 和 23.1.0 中的 64 位 ELF.于是,几android-studio 中的函数(我假设 eclipse+ADT 也是如此)失败因为尝试运行 64 位可执行文件.
android-sdk-linux/platform-tools content is 32-bit ELF in 23.0.1 but 64-bit ELF in 23.1_rc1 and 23.1.0. So, several functions in android-studio (and I assume eclipse+ADT as well) fail because of the attempt to run 64-bit executables.
这个问题已经被提出这里
此外,根据谷歌项目成员给出的官方评论部分平台工具将仅从 23.1.0 开始支持 64 位 Ubuntu 操作系统.
Also, as per the official comment given by google project member parts of the platform-tools will support 64 bit Ubuntu OS only from 23.1.0 onwards.
Platform-tools 23.1.0 或更高版本将无法在 Ubuntu 32 位操作系统上运行.开发者需要将 Ubuntu 操作系统升级到 64 位才能运行.
这最终意味着我们现在只有两种可能的解决方法:
That eventually means we only have possible two workarounds now :
1. 目前坚持使用 Platform-tool 23.0.1.并且不要将平台工具升级到 23.1.0 或更高版本
1. Stick with Platform-tool 23.0.1 as of now. and DO NOT UPGRADE platform-tools to 23.1.0 or above
2. 将您的 Ubuntu 操作系统更改为 64 位而不是 32 位.
2. Change your Ubuntu OS to 64-bit instead of 32-bit.
我希望这会对某人有所帮助.
I hope this would help someone.