Adb repeatedly keeps restarting with the following error trace:
Adb connection Error:EOF
Cannot reach ADB server, attempting to reconnect
* daemon not running; starting now at tcp:5037
* daemon started successfully
adb restarted
ADB connection re-established after 11 seconds.
Adb connection Error:EOF .
I am not running any emulator and no phone is connected. Removed Android studio completely and reinstalled. Still no luck.
AndroidStudio Version: Bumblebee | 2021.1.1 Patch 1 (February 1, 2022)
Android Emulator Version: 31.2.8
Operating System: Ubuntu 20.04
idea.log excerpt is as follows:
2022-02-08 19:10:00,817 [ 48452] WARN - #com.android.ddmlib - Adb connection Error:EOF
2022-02-08 19:10:00,818 [ 48453] WARN - #com.android.ddmlib - Cannot reach ADB server, attempting to reconnect.
2022-02-08 19:10:01,289 [ 48924] INFO - roid.tools.idea.adb.AdbService - Cancelling current future since it finished with a failure
2022-02-08 19:10:01,289 [ 48924] INFO - roid.tools.idea.adb.AdbService - Initializing adb using: /home/tahmid/Android/Sdk/platform-tools/adb
2022-02-08 19:10:01,289 [ 48924] INFO - roid.tools.idea.adb.AdbService - Terminating ADB connection
2022-02-08 19:10:01,292 [ 48927] INFO - roid.tools.idea.adb.AdbService - ADB connection successfully terminated
2022-02-08 19:10:01,296 [ 48931] WARN - #com.android.ddmlib - * daemon not running; starting now at tcp:5037
2022-02-08 19:10:01,373 [ 49008] WARN - #com.android.ddmlib - * daemon started successfully
2022-02-08 19:10:01,376 [ 49011] INFO - #com.android.ddmlib - Connected to adb for device monitoring
2022-02-08 19:10:01,576 [ 49211] INFO - roid.tools.idea.adb.AdbService - Successfully connected to adb
2022-02-08 19:10:16,213 [ 63848] WARN - #com.android.ddmlib - Adb connection Error:EOF
2022-02-08 19:10:16,213 [ 63848] WARN - #com.android.ddmlib - Cannot reach ADB server, attempting to reconnect.
2022-02-08 19:10:16,402 [ 64037] INFO - roid.tools.idea.adb.AdbService - Cancelling current future since it finished with a failure
2022-02-08 19:10:16,402 [ 64037] INFO - roid.tools.idea.adb.AdbService - Initializing adb using: /home/tahmid/Android/Sdk/platform-tools/adb
2022-02-08 19:10:16,402 [ 64037] INFO - roid.tools.idea.adb.AdbService - Terminating ADB connection
2022-02-08 19:10:16,408 [ 64043] INFO - roid.tools.idea.adb.AdbService - ADB connection successfully terminated
2022-02-08 19:10:16,413 [ 64048] WARN - #com.android.ddmlib - * daemon not running; starting now at tcp:5037
2022-02-08 19:10:16,484 [ 64119] WARN - #com.android.ddmlib - * daemon started successfully
2022-02-08 19:10:16,486 [ 64121] INFO - #com.android.ddmlib - Connected to adb for device monitoring
2022-02-08 19:10:16,686 [ 64321] INFO - roid.tools.idea.adb.AdbService - Successfully connected to adb
2022-02-08 19:10:33,584 [ 81219] WARN - #com.android.ddmlib - Adb connection Error:EOF
2022-02-08 19:10:33,585 [ 81220] WARN - #com.android.ddmlib - Cannot reach ADB server, attempting to reconnect.
2022-02-08 19:10:43,599 [ 91234] WARN - #com.android.ddmlib - * daemon not running; starting now at tcp:5037
2022-02-08 19:10:43,675 [ 91310] WARN - #com.android.ddmlib - * daemon started successfully
2022-02-08 19:10:43,677 [ 91312] INFO - #com.android.ddmlib - adb restarted
2022-02-08 19:10:44,677 [ 92312] INFO - #com.android.ddmlib - ADB connection re-established after 11 seconds.
2022-02-08 19:10:50,202 [ 97837] WARN - #com.android.ddmlib - Adb connection Error:EOF
2022-02-08 19:10:50,203 [ 97838] INFO - #com.android.ddmlib - Connected to adb for device monitoring
2022-02-08 19:10:50,226 [ 97861] WARN - #com.android.ddmlib - Sending Tracking request failed!
2022-02-08 19:10:50,227 [ 97862] WARN - #com.android.ddmlib - Adb connection Error:Connection reset by peer
2022-02-08 19:10:50,227 [ 97862] WARN - #com.android.ddmlib - Cannot reach ADB server, attempting to reconnect.
2022-02-08 19:11:00,242 [ 107877] WARN - #com.android.ddmlib - * daemon not running; starting now at tcp:5037
2022-02-08 19:11:00,316 [ 107951] WARN - #com.android.ddmlib - * daemon started successfully
2022-02-08 19:11:00,318 [ 107953] INFO - #com.android.ddmlib - adb restarted
2022-02-08 19:11:01,318 [ 108953] INFO - #com.android.ddmlib - ADB connection re-established after 11 seconds.
2022-02-08 19:11:05,933 [ 113568] WARN - #com.android.ddmlib - Adb connection Error:EOF
2022-02-08 19:11:05,934 [ 113569] WARN - #com.android.ddmlib - Cannot reach ADB server, attempting to reconnect.
2022-02-08 19:11:11,091 [ 118726] INFO - roid.tools.idea.adb.AdbService - Cancelling current future since it finished with a failure
2022-02-08 19:11:11,091 [ 118726] INFO - roid.tools.idea.adb.AdbService - Initializing adb using: /home/tahmid/Android/Sdk/platform-tools/adb
2022-02-08 19:11:11,091 [ 118726] INFO - roid.tools.idea.adb.AdbService - Terminating ADB connection
2022-02-08 19:11:11,098 [ 118733] INFO - roid.tools.idea.adb.AdbService - ADB connection successfully terminated
2022-02-08 19:11:11,103 [ 118738] WARN - #com.android.ddmlib - * daemon not running; starting now at tcp:5037
2022-02-08 19:11:11,180 [ 118815] WARN - #com.android.ddmlib - * daemon started successfully
2022-02-08 19:11:11,183 [ 118818] INFO - #com.android.ddmlib - Connected to adb for device monitoring
2022-02-08 19:11:11,383 [ 119018] INFO - roid.tools.idea.adb.AdbService - Successfully connected to adb
2022-02-08 19:11:12,176 [ 119811] WARN - #com.android.ddmlib - Adb connection Error:EOF
**adb**: Known issue: this version crashes when run without any arguments
. – Lavallee