初始化ADB时出错:无法创建调试桥:无法启动ADB服务器 [英] Error initializing ADB: Unable to create Debug Bridge: Unable to start ADB server

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

问题描述

我需要一些有关此错误的帮助。如果没有其他问题可以帮助我,则意味着我需要删除并重新安装Android Studio。

I need some help with this error. When no other of these questions are helping me, then this means I need to remove and reinstall Android Studio.

这是错误:


初始化ADB时出错:无法创建调试桥:

无法启动ADB服务器:adb服务器版本(36)与该客户端不匹配; < br>
正在杀死...无法从ADB服务器读取OK

*无法启动守护程序错误:

无法连接到守护程序'C:\Android\ Sdk\platform-tools\adb.exe启动服务器'失败-必要时手动运行。

Error initializing ADB: Unable to create Debug Bridge:
Unable to start ADB server: adb server version (36) doesn't match this client;
killing... could not read OK from ADB server
* failed to start daemon error:
cannot connect to daemon 'C:\Android\Sdk\platform-tools\adb.exe start-server' failed -- run manually if necessary.


推荐答案

有几种解决方案,具体取决于导致问题的原因。

There are a couple of solutions depending on what exactly is causing the problem.

因此,只需执行以下步骤。

So, just follow the following steps.

步骤1:- 。关闭Android Studio。

步骤2:- 打开命令提示符 win + r ,键入 cmd 并按< kbd>输入

第3步:- 导航到您的平台工具,在大多数情况下,该位置是:

Step 1:- Close Android-Studio.
Step 2:- Open Command prompt or win + r, type cmd and press Enter.
Step 3:- Navigate to your platform-tools, in most of the cases the location is:

C:\Users\[user]\AppData\Local\Android\android-sdk\platform-tools

但在您的情况下,位置为:

but in your case, the location is:

C:\Android\Sdk\

对于Mac用户,路径为

For Mac users the path is

/Users/[user]/Library/Android/sdk/platform-tools

步骤4:- 输入 adb.exe启动服务器,按 Enter

第5步:- 再次使用Android Studio。

Step 4:- Type adb.exe start-server, Press Enter
Step 5:- Open Android Studio again.

对于Mac,该命令只是 adb启动服务器

For Mac the command is just adb start-server

问题应该得到解决!

如果问题仍然存在,请执行以下步骤-

If the problem persists, then follow these steps-

步骤1:- 关闭Android Studio。

步骤2:- Alt + Ctrl + Del ,然后选择启动任务管理器

Step 1:- Close Android Studio.
Step 2:- Press Alt + Ctrl + Del, then choose Start Task Manager.

Windows任务管理器打开。

步骤3:- 进入进程标签。

步骤4:- 查找 adb.exe 并选择。

第5步:- 结束进程

步骤6:- 再次打开Android Studio。

Step 3:- Go to the processes tab.
Step 4:- Look for adb.exe and select that.
Step 5:- Press End Process.
Step 6:- Open Android Studio again.

就是这样。现在您的问题必须解决!

That's it. Now your problem must be solved!

但是,如果问题仍然存在(我认为这不会发生),则说明存在问题(或可能会丢失)在您的平台工具中。

But if the problem is still there (which I don't think will happen), then there is something wrong (or might be missing) in your platform-tools.

要解决此问题,请删除平台工具,然后从 Android开发人员官方网站。

To fix that, delete platform-tools from your computer, then download them again from Official Android Developer website.

提取下载的文件。

现在的位置

的默认位置平台工具

C:\Users\[user]\AppData\Local\Android\android-sdk\

但是在您的情况下,位置是

But in your case, the location is

C:\Android\Sdk\

这篇关于初始化ADB时出错:无法创建调试桥:无法启动ADB服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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