相关疑难解决方法(0)

adb服务器版本与此客户端不匹配

每当我尝试运行时adb devices:

            $ adb devices
            * daemon not running. starting it now *
            * daemon started successfully *
            List of devices attached
            HT0ANRV05740    device
Run Code Online (Sandbox Code Playgroud)

它说守护进程没有运行并重新启动守护进程.

然后,如果我再次运行adb设备,它会做同样的事情 -

            $ adb devices
            adb server is out of date.  killing...
            * daemon started successfully *
            List of devices attached
            HT0ANRV05740    device
Run Code Online (Sandbox Code Playgroud)

然后,如果我再次运行它,它再次做同样的事情 -

            $ adb devices
            adb server is out of date.  killing...
            * daemon started successfully *
            List of devices attached
            HT0ANRV05740    device
Run Code Online (Sandbox Code Playgroud)

请帮忙!!

此外,我的DDMS不断给我以下消息 -

[2011-02-23 16:17:05 - DeviceMonitor]Adb …
Run Code Online (Sandbox Code Playgroud)

android adb

145
推荐指数
15
解决办法
18万
查看次数

解决"adb服务器版本与此客户端不匹配"错误

我用Python而不是py.test运行我的Appium脚本,因为py.test不能很好地处理我想从文本文件中获取的变量.当我用python运行我的脚本时,除了我的第一个方法总是有错误外,一切正常.

有谁知道如何修复以下错误?

adb server version (31) doesn't match this client (36) adb server version (32) doesn't match this client (36); killing...

android adb appium

96
推荐指数
10
解决办法
16万
查看次数

不允许设置设备所有者,因为设备上已有多个用户

我按照本教程将应用程序设置为设备所有者.在该教程中,有一节"使用adb设置设备所有者".这里的教程说明在安装Kiosk模式演示应用程序后,运行以下命令:

adb shell dpm set-device-owner sdg.example.kiosk_mode/.AdminReceiver
Run Code Online (Sandbox Code Playgroud)

这给了我错误:

adb server is out of date.  killing...
* daemon started successfully *
java.lang.IllegalStateException: Not allowed to set the device owner because there are already several users on the device
    at android.os.Parcel.readException(Parcel.java:1629)
    at android.os.Parcel.readException(Parcel.java:1574)
    at android.app.admin.IDevicePolicyManager$Stub$Proxy.setDeviceOwner(IDevicePolicyManager.java:5146)
    at com.android.commands.dpm.Dpm.runSetDeviceOwner(Dpm.java:114)
    at com.android.commands.dpm.Dpm.onRun(Dpm.java:82)
    at com.android.internal.os.BaseCommand.run(BaseCommand.java:47)
    at com.android.commands.dpm.Dpm.main(Dpm.java:38)
    at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
    at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:257)
Run Code Online (Sandbox Code Playgroud)

我按照这个SO链接,Diego Plascencia Lara的答案帮助我摆脱了

adb server is out of date.  killing...
* daemon started successfully *
Run Code Online (Sandbox Code Playgroud)

但运行adb shell dpm set-device-owner sdg.example.kiosk_mode/.AdminReceiver …

android adb device-owner

11
推荐指数
2
解决办法
1万
查看次数

更新到android 7时,Adb服务器版本(32)与此客户端(36)不匹配

我遇到了这个问题:在Android模拟器(Nexus 5)中运行命令react-native run-android时,adb服务器版本(32)与此客户端(36)不匹配.在我将Android版本(SDK,构建工具,所有内容)更新到7.0之前,一切都很好,以运行最新版本的RN 0.32.在我有一个0.25的空闲项目之前,正如我说的那样工作正常.

我安装了ganymotion,其他解决方案与genymotion相关,但没有奏效.现在我完全删除了genymotion并重新安装了android 7.0中的所有内容.仍然是同样的问题.

我看到一些修复程序在Windows中安装ADB 1.0.36.我无法在我的ubuntu上更新我的abd(现在是版本1.0.32).

我还能尝试什么?

非常感谢.

adb react-native

2
推荐指数
1
解决办法
1万
查看次数

如何解决此ADB服务器版本与android中的此客户端错误不匹配?

adb server version (39) doesn't match this client (40); killing...
could not read ok from ADB Server
* failed to start daemon
error: cannot connect to daemon
adb: error: failed to get feature set: protocol fault (couldn't read status): Connection reset by peer
* daemon not running; starting now at tcp:5037
* daemon started successfully
- waiting for device -
error: protocol fault (couldn't read status): Connection reset by peer
Run Code Online (Sandbox Code Playgroud)

adb appium-android

1
推荐指数
6
解决办法
2万
查看次数