Skip to content
vast-cow's blog
Go back

For Google TV (Android TV OS): Launching a Minimal App with Android Studio + Kotlin

Edit page

Target: Google TV (= Android TV OS) Goal: Get to the point where a minimal app can be launched using Android Studio + Kotlin.

Environment Used (Android Studio)

Android Studio Otter 3 Feature Drop | 2025.2.3
Build #AI-252.28238.7.2523.14688667, built on January 9, 2026
Runtime version: 21.0.8+-14196175-b1038.72 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.awt.windows.WToolkit
Windows 11.0
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 2048M
Cores: 8
Registry:
  ide.experimental.ui=true

1. Create a New Project

  1. Android Studio → New Project

  2. Template: Television → Empty Activity

  3. Language: Kotlin

  4. minSdk must be 21 or higher (TV assumes API 21+)

  5. After creation, first run Gradle Sync (check progress in the bottom-right status bar)

    • The first run may take quite a long time

2. Run (Emulator or Physical Device)

A. TV Emulator (Incomplete)

B. Google TV Physical Device

1) Check the Location of adb

  1. Android Studio → Tools → SDK Manager
  2. Check Android SDK Locations
  3. Example: {Android SDK Location}/platform-tools/adb.exe

2) Enable Developer Options on the Device

3) Debug Settings (USB / Wi-Fi)

4) Pair / Connect with adb

adb kill-server
adb start-server

# Close and reopen the PIN screen on the Google TV side, then run
adb pair {IP}:{PORT} {PIN}

adb shell
# Even when pair was successful, there were many times it wouldn’t enter shell

5) Run on the Physical Device from Android Studio

  1. Android Studio → Tools → Device Manager
  2. Confirm that the physical device has been added
  3. Run Run ‘app’ → The app launches on the Google TV device

References


Edit page
Share this post:

Comments


Previous Post
How to Think About `.gitignore` for Android Studio and a Standard Practical Setup
Next Post
How to Open a Specified YouTube Video in the YouTube App on Android TV