ADB 连接错误:无法创建调试桥:无法启动 adb 服务器:无法检测 adb 版本,adb 输出 [英] ADB Connection Error: Unable to create Debug Bridge: Unable to start adb server: Unable to detect adb version, adb output

查看:53
本文介绍了ADB 连接错误:无法创建调试桥:无法启动 adb 服务器:无法检测 adb 版本,adb 输出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我确实将我的工作室更新到 1.5.1 in Linux Mint 并刚刚启动了我的工作室.它给了我一个对话框(在 ADB 初始化时)说:

I did updated my studio to 1.5.1 in Linux Mint and just launched my studio. Its giving me a dialog (while ADB Initializing) saying:

  • 无法创建调试桥:
  • 无法启动 adb 服务器:无法检测 adb 版本,adb 输出:
  • /home/ajay/Developement/Sdk/platform-tools/adb: 1:/home/ajay/Developement/Sdk/platform-tools/adb: 语法错误:")" 意外

请提供修复.任何帮助将不胜感激.

Please provide a fix. Any help would be appreciated.

推荐答案

旧答案:我遇到了同样的问题(Linux Mint 17、32 位 Quiana 中的 ADB).我确保 platform-tools 目录中的文件 ADB 具有可执行权限,但它似乎根本无法运行(即使我尝试停止 Android Studio 并自行运行 ADB).我厌倦了卸载并重新安装 Android SDK 平台工具 (v 23.1) 但这并没有帮助.有没有办法恢复到早期版本的平台工具?

Old Answer: I'm having the same problem (with ADB in Linux Mint 17, 32bit Quiana). I made sure that the file ADB in platform-tools directory has executable permission but it appears that will not run at all (even if I try stopping Android Studio and running ADB on its own). I tired uninstalling and re-installing the Android SDK Platform Tools (v 23.1) but that didn't help. Is there a way to revert back to an earlier version of Platform Tools?

改进的答案:如果您使用 32 位 Linux 系统运行 Android Studio 并且不幸更新到平台工具 23.1.0,您需要恢复到平台工具 23.0.1.

Improved Answer: If you're using a 32-bit Linux system to run Android Studio and have had the misfortune to have updated to platform-tools 23.1.0 you need to revert back to platform-tools 23.0.1.

我是这样做的:

通过以下链接下载 23.0.1 文件:https://dl-ssl.google.com/android/repository/platform-tools_r23.0.1-linux.zip

Download the 23.0.1 files with this link: https://dl-ssl.google.com/android/repository/platform-tools_r23.0.1-linux.zip

将下载的 zip 文件移动到您的 Android SDK 安装目录(类似于 ~/Android/Sdk).

Move the downloaded zip file to the directory where your Android SDK is installed (something like ~/Android/Sdk).

重命名包含 64 位文件的现有目录( ~/Android/Sdk/platform-tools 到 ~/Android/Sdk/platform-tools-64-bit ).注意:您可以删除这些文件,但我保存了它们.它们不占用太多空间.

Rename the existing directory containing the 64-bit files ( ~/Android/Sdk/platform-tools to ~/Android/Sdk/platform-tools-64-bit ). Note: you could just delete these files but I saved them. They don't take up much space.

从 ~/Android/Sdk 目录解压下载的 zip 文件.这应该会创建一个新目录 ~/Android/Sdk/platform-tools ,其中包含 32 位系统所需的 platform-tools 23.0.1 文件和子目录.亚行现在应该像这次更新"破坏它之前那样工作.(糟糕的谷歌,糟糕的,糟糕的)

From the ~/Android/Sdk directory unzip the downloaded zip file. That should have created a new directory ~/Android/Sdk/platform-tools containing the platform-tools 23.0.1 files and sub-directories that you need for your 32-bit system. ADB should now work just like it did before this "update" broke it. (Bad Google, Bad, Bad)

参考:https://code.google.com/p/android/issues/detail?id=196866

这篇关于ADB 连接错误:无法创建调试桥:无法启动 adb 服务器:无法检测 adb 版本,adb 输出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆