啓動genymotion模擬器,打包運行android studio的項目代碼,結果報錯:linux
adb server version (32) doesn't match this client (35); killing...android
error: could not install *smartsocket* listener: Address already in usesocket
ADB server didn't ACKthis
* failed to start daemon *命令行
error: cannot connect to daemon3d
顯示adb堆棧:命令行code
export ADB_TRACE=all adb I 4461 4461 adb_trace.cpp:169] Android Debug Bridge version 1.0.35 adb I 4461 4461 adb_trace.cpp:169] Revision 102d0d1e73de-android adb I 4461 4461 adb_trace.cpp:169] List of devices attached adb I 4461 4461 adb_client.cpp:282] adb_query: host:devices adb I 4461 4461 adb_client.cpp:126] _adb_connect: host:version adb I 4461 4461 adb_io.cpp:99] writex: fd=3 len=16 30303063686f73743a76657273696f6e 000chost:version adb I 4461 4461 adb_io.cpp:73] readx: fd=3 wanted=4 adb I 4461 4461 adb_io.cpp:89] readx: fd=3 wanted=4 got=4 4f4b4159 OKAY adb I 4461 4461 adb_client.cpp:167] _adb_connect: return fd 3 adb I 4461 4461 adb_client.cpp:175] adb_connect: service host:devices adb I 4461 4461 adb_io.cpp:73] readx: fd=3 wanted=4 adb I 4461 4461 adb_io.cpp:89] readx: fd=3 wanted=4 got=4 30303034 0004 adb I 4461 4461 adb_io.cpp:73] readx: fd=3 wanted=4 adb I 4461 4461 adb_io.cpp:89] readx: fd=3 wanted=4 got=4 30303230 0020 adb server version (32) doesn't match this client (35); killing... adb I 4461 4461 adb_client.cpp:126] _adb_connect: host:kill adb I 4461 4461 adb_io.cpp:99] writex: fd=3 len=13 30303039686f73743a6b696c6c 0009host:kill adb I 4461 4461 adb_io.cpp:73] readx: fd=3 wanted=4 adb I 4461 4461 adb_io.cpp:89] readx: fd=3 wanted=4 got=4 4f4b4159 OKAY adb I 4461 4461 adb_client.cpp:167] _adb_connect: return fd 3 adb I 4466 4466 adb_trace.cpp:169] Android Debug Bridge version 1.0.35 adb I 4466 4466 adb_trace.cpp:169] Revision 102d0d1e73de-android adb I 4466 4466 adb_trace.cpp:169] adb I 4466 4466 transport.cpp:575] socketpair: (3,5) adb I 4466 4466 fdevent.cpp:152] fdevent_install (fdevent 5 A) adb I 4466 4466 fdevent.cpp:198] fdevent_set: (fdevent 5 AR), events = 1 adb I 4466 4466 transport_local.cpp:308] transport: local client init adb I 4466 4467 usb_linux.cpp:576] Created device thread adb I 4466 4466 adb_auth_host.cpp:464] adb_auth_init adb I 4466 4468 transport_local.cpp:126] transport: client_socket_thread() starting adb I 4466 4466 adb_auth_host.cpp:327] home '/home/zdj' adb I 4466 4466 adb_auth_host.cpp:355] user key '/home/zdj/.android/adbkey' adb I 4466 4466 adb_auth_host.cpp:275] read_key '/home/zdj/.android/adbkey' error: could not install *smartsocket* listener: Address already in use ADB server didn't ACK * failed to start daemon * error: cannot connect to daemon
也沒看出來啥頭緒,只是提示端口被佔用了。server
反反覆覆的 adb kill-server --> start-server,仍是一樣的錯誤。it
還有個緣由:genymotion的adb設置,如圖:io
,關閉以前啓動的genymotion模擬器,從新打開便可