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

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

问题描述

如果没有其他问题对我有帮助,那么这意味着我需要删除并重新安装 Android Studio.

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

错误如下:

初始化 ADB 时出错:无法创建调试桥:
无法启动 ADB 服务器:adb 服务器版本 (36) 与此客户端不匹配;
杀死...无法从 ADB 服务器读取 OK

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

  • 无法启动守护进程错误:
    无法连接到守护进程C:\Android\Sdk\platform-tools\adb.exe start-server"失败 - 如有必要,请手动运行.
  • 推荐答案

    根据导致问题的确切原因,有几种解决方案.

    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并按回车.
    第 3 步:- 导航到您的 platform-tools,在大多数情况下,位置是:

    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
    

    但就您而言,位置是:

    C:\Android\Sdk\
    

    对于 Mac 用户,路径是

    For Mac users the path is

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

    第 4 步:- 输入 adb.exe start-server,按 Enter
    第 5 步:-再次打开 Android Studio.

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

    对于 Mac,命令就是 adb start-server

    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 步:- 转到 processes 标签.
    第 4 步:- 查找 adb.exe 并选择它.
    第 5 步:-End Process.
    第 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!

    但如果问题仍然存在(我认为不会发生),那么您的 platform-tools 中就有问题(或可能丢失).

    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.

    要解决此问题,请从您的计算机中删除 platform-tools,然后从 Android 官方开发者网站.

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

    提取下载的文件.

    现在将提取的文件放置在删除之前 platform-tools 所在的位置.

    Now place the extracted file, where platform-tools were located before deleting.

    platform-tools 的默认位置是

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

    但在你的情况下,位置是

    But in your case, the location is

    C:\Android\Sdk\
    

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

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