The Wayback Machine - http://web.archive.org/web/20220120125811/https://github.com/android/tv-samples
Skip to content
main
Switch branches/tags
Code

Latest commit

Merge pull request #60 from IanGClifton/main

An outdated version of Gradle was causing Android Studio to error, so I
updated that to the latest version. With the latest version, Dagger
failed to build. I updated it to 2.21 to fix the issues and updated the
generics usage, but this is far from the latest version. There is a
significant amount of work if we want to update to the latest version
that should be considered separately from this.

This also fixes a crash in MusicPlaybackService from the Application
being referenced before it is available and another crash in playback
due to VideoContent not having an accessible CREATOR.

Note: There is still a crash in the LiveData example due to the dagger
setup, but at least this PR gets everything building and all other
sections working again.
91a7fc7

Git stats

Files

Permalink
Failed to load latest commit information.

Android TV Samples Repository

This repository contains a set of individual Android TV projects to help you get started writing Android TV apps.

  • AccessibilityDemo: A Java sample showing how to support accessibility on TVs
  • ClassicsKotlin: A modern Android TV app using Kotlin to show classic videos
  • Leanback: A Java app that demonstrates a basic Android TV app
  • Leanback Showcase: A Java app that demonstrates many different parts of the Leanback SDK and how to customize them
  • ReferenceAppKotlin: Our newest sample that demonstrates a variety of Android TV and Google TV integrations in Kotlin

Getting Started

  • Clone this repo:
git clone https://github.com/android/tv-samples.git
  • Open the specific project(s) you're interested in within Android Studio

Need more information about getting started with Android TV? Check the official getting started guide.

Additional Resouroces

Support

If you need additional help, our community might be able to help.

License

See the LICENSE file for details.