Search code examples
androidgoogle-tvandroid-tv

How to connect android IPTV set top box running Android 4.4 for USB debugging


I am developing an android IPTV application running on Android 4.4. Does anyone know how to connect set-top box for installing application for testing. The set-top box have a USB port to connect USB pen-drive.

Can we use that USB port for installing applications directly in STB. If yes then How ?

Please help me out with this if anyone worked on android set top box programming.


Solution

  • Open command line;

    adb connect [Your device's IP address]

    Once you connect your device via adb tool, just run your code from Android Studio. Your target device should be listed under Connected Devices.

    Make sure

    • to add ADB to the PATH to be able to run adb.exe on cmd from any directory
    • the system and target device are in the same network