Open tamasfodor1988 opened 2 years ago
I need this answer too.
If apt-get update or apt-get upgrade didn't fetch latest adb version, then you can try to manually install this adb https://github.com/lzhiyong/android-sdk-tools/releases . Haven't personally tried it.
I am using Homebridge inside docker, I installed homebridge-adb followed the instructions.
Used
apt-get install -y android-tools-adb android-tools-fastboot
to install ADB tools. But I couldn't start the server:root@raspberrypi:/var/lib/homebridge $ adb start-server
daemon not running; starting now at tcp:5037 ADB server didn't ACK Full server startup log: /tmp/adb.0.log Server had pid: 1692 --- adb starting (pid 1692) --- adb I 11-22 09:23:19 1692 1692 main.cpp:57] Android Debug Bridge version 1.0.39 adb I 11-22 09:23:19 1692 1692 main.cpp:57] Version 1:8.1.0+r23-5ubuntu2 adb I 11-22 09:23:19 1692 1692 main.cpp:57] Installed as /usr/lib/android-sdk/platform-tools/adb adb I 11-22 09:23:19 1692 1692 main.cpp:57] adb I 11-22 09:23:19 1692 1692 adb_auth_host.cpp:416] adb_auth_init... adb I 11-22 09:23:19 1692 1692 adb_auth_host.cpp:262] User key '/home/homebridge/.android/adbkey' does not exist... adb I 11-22 09:23:19 1692 1692 adb_auth_host.cpp:109] generate_key(/home/homebridge/.android/adbkey)...
failed to start daemon error: cannot connect to daemon
After a little search I found that this ADB version is out-of-date (-rwxr-xr-x 1 root root 124432 Feb 8 2020 adb).
How can I update to a newer version?
Log output [11/22/2022, 9:11:49 AM] [HomebridgeADB]
WARNING: Unrecognized accessory - "Telekom TV ADB". Please check if the accessory's IP address is correct. If your accessory is turned OFF, please turn it ON.