adb报版本错误

 

C:\Users\Administrator>adb devices
List of devices attached
adb server version (31) doesn't match this client (40); killing...
could not read ok from ADB Server
* failed to start daemon
error: cannot connect to daemon

一、版本报错

在命令行中使用adb nodaemon server -a

C:\Users\Administrator>adb nodaemon server -a
adb I 08-01 09:43:24 13836 15900 auth.cpp:421] adb_auth_init...
adb I 08-01 09:43:24 13836 15900 auth.cpp:174] read_key_file 'C:\Users\Administrator\.android\adbkey'...
adb I 08-01 09:43:25 13836 12588 transport.cpp:103] 201c1005: read thread spawning
adb I 08-01 09:43:25 13836  3400 transport.cpp:116] 201c1005: write thread spawning
adb I 08-01 09:43:25 13836 15900 auth.cpp:472] Calling send_auth_response
adb I 08-01 09:43:25 13836 15900 adb.cpp:145] 201c1005: offline

完美解决

C:\Users\Administrator>adb devices
List of devices attached
201c1005        device

二、sdk版本与第三方模拟器adb版本不对

 

转载于:https://www.cnblogs.com/xiashang/p/9399548.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值