问题描述
我遇到了这个问题:运行命令 react-native run-android 时, adb服务器版本(32)与该客户端(36)不匹配在android模拟器(Nexus 5)中。在我将android版本(SDK,构建工具,所有内容)更新为7.0,以运行RN 0.32的最新版本之前,一切都很好。在我有一个0.25的闲置项目并按我说的那样工作正常之前。
I'm having this problem: adb server version (32) doesn't match this client (36), when running the command react-native run-android in an android emulator (Nexus 5). Everything was fine before i updated android version (SDK, build tools , everything) to 7.0, to run the newest version of RN 0.32. Before i had an idle project in 0.25 and was working fine as i said.
我安装了ganymotion,然后按照其他与genymotion相关的解决方案进行了工作,但没有工作。现在,我完全删除了genymotion并重新安装了android 7.0中的所有内容。仍然是同样的问题。
I had ganymotion installed, followed the others solutions relationed to genymotion and did not worked. Now i fully removed genymotion and reinstaled everything in android 7.0. Still the same problem.
我看到了一些在Windows中安装ADB 1.0.36的修复程序。我无法在ubuntu上进一步更新abd(当前为1.0.32版)。
I saw some fixes to install ADB 1.0.36 in windows. I cant update my abd (which is version 1.0.32 right now) further on my ubuntu.
我还能尝试什么?
非常感谢。
推荐答案
我在这里看到了一个答案,解决方案是转到Genymotion设置,转到 ADB标签。选择自定义Android SDK工具,然后指向您的SDK。
I saw an answer here somewhere and the solution was to go to Genymotion settings, go to the ADB tab. Select custom Android SDK Tools, then point to your sdk.
这篇关于更新至android 7时,adb服务器版本(32)与该客户端(36)不匹配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!