ADB connection to an AndroidTV

I've just got a Sony KDL-43W800C, and I intend to develop some apps for it, however I can not find any information on how to attach to it using adb for installing apks and getting the logs etc.

What am I missing?


You need to use ADB over TCP/IP.

  1. Enable Developer options: Press Home and select Settings. In the TV row, select About. Scroll down to and click on Build several times until a dialog appears with the message "You are now a developer" appears.

  2. Enable Debugging: Press Home and go back into the Settings menu. In the System Preferences row, select Developer options, select Debugging, select ADB Debugging, select On.

  3. Find the TV IP address: Press Home and select Network Settings.

  4. Make sure your TV and your computer are connected to the same local network.

  5. On your computer type: adb connect <TV IP address>

  6. In the Allow debugging? dialog, select Always allow from this computer and select OK.

You can verify the connection is established and that the TV is communicating across the network with the following command:

adb logcat