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版本不对

 

posted @ 2018-08-01 09:50  骠骑小单车  阅读(1597)  评论(0编辑  收藏  举报