ADB服务器版本(36)与该客户端(39)不匹配{不使用Genymotion} [英] ADB server version (36) doesn't match this client (39) {Not using Genymotion}

查看:398
本文介绍了ADB服务器版本(36)与该客户端(39)不匹配{不使用Genymotion}的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在测试设备上安装Android O预览版后,我的ADB停止工作并开始向我显示此错误。

After installing the Android O preview on a test device my ADB stopped working and started giving me this error.

adb服务器版本(36 )与该客户不符(39);杀死...
adb E 03-27 08:01:55 2925 147690 usb_osx.cpp:333]无法打开界面:e00002c5
adb E 03-27 08:01:55 2925 147690 usb_osx。 cpp:294]找不到设备接口
错误:无法安装* smartsocket *侦听器:地址已在使用中
ADB服务器未确认
*无法启动守护程序*
错误:无法连接到守护程序

我在此问题上遇到的唯一答案是Genymotion与ADB不同步,但我不要使用Genymotion。任何帮助将不胜感激。我已经擦除并重新安装了Android Studio及其所有工具和设置,但似乎仍然存在此问题。

The only answers I have come across on this issue referred to Genymotion being out of sync with ADB but I don’t use Genymotion. Any help would be greatly appreciated. I have already wiped and reinstalled Android Studio as well as all of its tools and settings yet seem to still have this issue.

推荐答案

在我的情况下,当我将环境adb路径设置为〜/ .android时,会发生此错误-sdk / platform-tools (例如通过自制软件安装android-platform-tools时发生),版本为36,但是Android Studio项目的Android SDK下一条路径为〜 / Library / Android / sdk ,其中adb版本为39。

In my case this error occured when I set up my environment adb path as ~/.android-sdk/platform-tools (which happens when e.g. android-platform-tools is installed via homebrew), which version was 36, but Android Studio project has Android SDK next path ~/Library/Android/sdk which adb version was 39.

我已将PATH平台工具的路径更改为 〜/ Library / Android / sdk / platform-tools 并且错误已解决

I have changed my PATH to platform-tools to ~/Library/Android/sdk/platform-tools and error was solved

这篇关于ADB服务器版本(36)与该客户端(39)不匹配{不使用Genymotion}的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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