Skip to content

adb server problem + ADB server didn't ACK + thread spawning + failed to start daemon : All of that with one command >flutter run #37869

@ylevygithub

Description

@ylevygithub

➜ tuto flutter doctor

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.7.8+hotfix.4, on Linux, locale en_US.UTF-8)
 
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Android Studio (version 3.4)
[✓] VS Code (version 1.36.1)
[✓] Connected device (1 available)

• No issues found!

➜ tuto flutter run

Using hardware rendering with device Android SDK built for x86. If you get graphics artifacts, consider enabling software rendering with "--enable-software-rendering".
Launching lib/main.dart on Android SDK built for x86 in debug mode...
Initializing gradle...                                              1.1s
Resolving dependencies...                                           1.9s
adb server version (40) doesn't match this client (41); killing...
ADB server didn't ACK
Full server startup log: /tmp/adb.1000.log
Server had pid: 18086
--- adb starting (pid 18086) ---
adb I 08-08 17:37:48 18086 18086 main.cpp:60] Android Debug Bridge version 1.0.41
adb I 08-08 17:37:48 18086 18086 main.cpp:60] Version 29.0.2-5738569
adb I 08-08 17:37:48 18086 18086 main.cpp:60] Installed as /home/yaacov/Downloads/platform-tools/adb
adb I 08-08 17:37:48 18086 18086 main.cpp:60] 
adb I 08-08 17:37:48 18086 18086 auth.cpp:436] adb_auth_init...
adb I 08-08 17:37:48 18086 18086 auth.cpp:411] adb_auth_inotify_init...
adb I 08-08 17:37:48 18086 18092 transport.cpp:281] emulator-5554: read thread spawning
adb I 08-08 17:37:48 18086 18093 transport.cpp:294] emulator-5554: write thread spawning
adb I 08-08 17:37:48 18086 18086 transport.cpp:1375] fetching keys for transport emulator-5554
adb I 08-08 17:37:48 18086 18086 auth.cpp:488] Calling send_auth_response
adb I 08-08 17:37:48 18086 18086 adb.cpp:114] emulator-5554: offline
adb server killed by remote request
adb I 08-08 17:37:48 18086 18086 transport.cpp:983] kicking transport 0x7f4634000b20 emulator-5554
adb I 08-08 17:37:48 18086 18086 transport.cpp:357] BlockingConnectionAdapter(emulator-5554): stopping
adb I 08-08 17:37:48 18086 18092 transport.cpp:285] emulator-5554: read failed: Success
adb I 08-08 17:37:48 18086 18092 transport.cpp:698] emulator-5554: connection terminated: read failed
adb I 08-08 17:37:48 18086 18086 transport.cpp:375] BlockingConnectionAdapter(emulator-5554): stopped

* failed to start daemon
error: cannot connect to daemon

Oops; flutter has exited unexpectedly: "Exit code 1 from: /home/yaacov/Downloads/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1".
Sending crash report to Google.
Crash report sent (report ID: 2daee6887e4b87ac)
Crash report written to /home/yaacov/Desktop/tuto/flutter_01.log;
please let us know at https://github.com/flutter/flutter/issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions