installing builds on Android TV

 
 

enabling dev mode & Other prerequisites

The steps for this are very similar to installing on Android TV.

First, we need to actually enable dev mode on the device:

Go to Settings.

Choose Device Preferences.

Scroll down to Build number.

Select the Build number 7 times to enable dev mode.

Now we need to allow debugging on the device. Navigate to Developer Options and then enable USB Debugging and Network Debugging.

We also need to make sure we have Android SDKs installed on our computer and that our computer and Android TV are on the same network.


Connecting via command prompt

Open command prompt on your computer and point to where your platform-tools finder is (within Android SDKs).

Type in “adb kill-server” and hit enter.

Type in “adb start-server” and hit enter.

Type in “adb connect (IP address of the Android TV)” and hit enter. At this point, you’ll get a prompt on the Android TV to allow USB debugging - select Always allow and click OK.

Type in “adb devices” to make sure you’re connected.


Pushing the build from platform-tools to your android tv

Download the .apk file of the application you want to test and drag it into the platform-tools folder. Copy the .apk file name.

Type in “adb install (filename and make sure .apk is at the end)” and hit enter.

When you see the application has been installed through command prompt, navigate back out to the main Settings page on your Android TV, scroll to Apps and select it. Scroll down the list and you should see your application appear with options to launch, clear data, clear cache, etc.