Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ADB connection to an AndroidTV

Tags:

sony

google-tv

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?

like image 542
Matthew Huck Avatar asked Jul 15 '15 05:07

Matthew Huck


People also ask

How do I enable adb on my TV?

Step A.From the main screen of your Fire TV, select Settings. Select Device (or My Fire TV) > Developer Options. Turn on ADB Debugging.

How do I connect to adb mode?

Boot your phone into Android, then connect it to your desktop computer with a USB cable. On your computer, launch the Command Prompt and change the directory to point to the platform-tools folder. Type adb devices and hit Enter. You should now see a list of attached devices, with a serial number.

Can you use adb on Samsung?

Windows, macOS, Linux, and Chrome OS: Android Studio It's Google's official IDE (Integrated Development Environment) for Android applications and has all the tools on board you need for creating your projects, including ADB and fastboot. The software will also ensure that your tools are always up to date.


1 Answers

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 
like image 142
Tonni Larsen SONY Avatar answered Sep 28 '22 04:09

Tonni Larsen SONY