kanma
Posts: 1
Joined: Sat Apr 18, 2020 3:55 pm

adb "failed to start daemon" error

Sat Apr 18, 2020 4:03 pm

I am trying to use adb on my Raspberry Pi. However, whenever I try to use any adb command (such as "adb devices" in the command-line, I get the following error:

Code: Select all

* daemon not running; starting now at tcp:5037
ADB server didn't ACK
Full server startup long: /tmp/adb.1000.log
Server had pid: 2036
--- adb starting (pid 2036) ---
adb I 05-18 12:15:21 2036 2036 main.cpp:57] Android Debug Bridge version 1.0.39
adb I 05-18 12:15:21 2036 2036 main.cpp:57] Version 1:8.1.0+r23-5~18.04
adb I 05-18 12:15:21 2036 2036 main.cpp:57] Installed as /usr/lib/android-sdk/platform-tools/adb
adb I 05-18 12:15:21 2036 2036 main.cpp:57]
adb I 05-18 12:15:21 2036 2036 main.cpp:57] adb_auth_init
adb I 05-18 12:15:21 2036 2036 main.cpp:57] User key '/home/username/.android/adbkey' does not exist...
adb I 05-18 12:15:21 2036 2036 main.cpp:57] generate_key (/home/username/.android/adbkey)...
* failed to start daemon
error: cannot connect to daemon
The folder access permissions for .android are all set to "create and delete files", but whenever I try to set the file access to "read and write" and click "apply permissions to enclosed files" it simply sets all of the settings back to default. The .android folder is empty. I have been browsing forums all day but nothing seems to fix the ADB server didn't ACK issue; the daemon fails to start everytime.

I have tried pretty much every suggestion I could find, including adb kill-server && adb start-server, rebooting my RP, and ./android update sdk --no-ui. I would greatly appreciate any help with solving this urgent issue!

Return to “Android”