I'm trying to implement a connectivity to my AndroidTV using ADB.
When executing the proper calls in the command line it all works:
Code: Select all
adb kill-server
adb start-server
adb connect 192.168.2.7
adb shell input keyevent KEYCODE_POWER
error: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.
Apparently the ADB-server isn't started. I don't get why this way is not working as it works when executing the lines manually.
Does anybody has a clue?
thanks!