dwaan / homebridge-adb

Homebridge script to control remote ADB enabled Android device
MIT License
76 stars 15 forks source link

How to update adb inside docker #92

Open tamasfodor1988 opened 2 years ago

tamasfodor1988 commented 2 years ago

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

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.

SawkeeReemo commented 8 months ago

I need this answer too.

dwaan commented 8 months ago

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.