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

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM