Open secprentice opened 10 months ago
I installed snap and then installed android-tools and android-adb. Make sure to point to this adb in the Homebridge settings
I installed snap and then installed android-tools and android-adb. Make sure to point to this adb in the Homebridge settings
Can you explain how to do that? I was able to install snapd inside my Homebridge docker container, but no idea how to do the rest of what you mentioned here. (Been fighting to get ADB to work for months.)
Try sudo snap install android-adb --edge
Adv will then be in /snap/bin/android-adb
Try sudo snap install android-adb --edge
Adv will then be in /snap/bin/android-adb
I’m trying to do this inside the official Homebridge docker container, and got this error:
error: cannot communicate with server: Post "http://localhost/v2/snaps/android-adb": dial unix /run/snapd.socket: connect: no such file or directory
You can try to manually install this adb version https://github.com/lzhiyong/android-sdk-tools/releases . Haven't personally tried it.
Yeah, I looked at that. But I’m not sure what I can or cannot do inside the Homebridge container without borking it. I actually asked this question over on the main Homebridge GitHub page as well. Hopefully they have an answer; seems like it would be a popular question. Maybe?
It's actually easy and safer, you just need to extract it into the home folder and configure the 'path
' for the binary in homebridge-adb config.
Can you post the output of: sudo snap find hello-world
Does anybody know how to get the latest version of ADB running on the Pi? No matter how hard I try, I can't get the latest version to run, it's not compiled for Arm processors in the apt repo. Does anyone have any ideas on where to get it? My os is:
NAME="Debian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye