53

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?

1 Answer 1

107

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
14
  • 3
    Is there no way to enable ADB over USB? Using TCP/IP makes it difficult to debug the device if the network connection is dropped...
    – daneb
    Jul 15, 2015 at 18:11
  • 6
    At this time ADB over USB is not available. If your Wi-Fi network is unstable just use wired Ethernet instead. Jul 16, 2015 at 8:07
  • 3
    It's 5555. Also, I had to hard reboot (unplug power) between steps 1 and 2 to have the Developer options menu option show up. Aug 31, 2015 at 14:29
  • 1
    @SiekermanTechnology Somehow the menu do not refresh by itself when you get the developer privilege. You just have to press back until you land on the home page and then get back to the menu.
    – Pol
    May 6, 2016 at 11:12
  • 7
    The option "ADB Debugging" is not visible. I only have USB Debugging. I have a skyworth android TV v8.0
    – Burnsys
    Feb 15, 2021 at 18:55

Not the answer you're looking for? Browse other questions tagged or ask your own question.