android / tv-samples

Multiple samples showing best practices in app development on Android TV.
Apache License 2.0
1.06k stars 338 forks source link

Could not find com.google.android.exoplayer:exoplayer:2.6.1. #193

Open gtalarico opened 1 month ago

gtalarico commented 1 month ago

Cannot build Leanback same - exoplayer seems to no longer be available. Are there any plans to upgrade samples to exoplayer2?


Could not determine the dependencies of task ':app:preDebugBuild'.
> Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
   > Could not find com.google.android.exoplayer:exoplayer:2.6.1.
     Searched in the following locations:
       - file:/Users/gtalarico/Library/Android/sdk/extras/m2repository/com/google/android/exoplayer/exoplayer/2.6.1/exoplayer-2.6.1.pom
       - file:/Users/gtalarico/Library/Android/sdk/extras/m2repository/com/google/android/exoplayer/exoplayer/2.6.1/exoplayer-2.6.1.jar
       - file:/Users/gtalarico/Library/Android/sdk/extras/google/m2repository/com/google/android/exoplayer/exoplayer/2.6.1/exoplayer-2.6.1.pom
       - file:/Users/gtalarico/Library/Android/sdk/extras/google/m2repository/com/google/android/exoplayer/exoplayer/2.6.1/exoplayer-2.6.1.jar
       - file:/Users/gtalarico/Library/Android/sdk/extras/android/m2repository/com/google/android/exoplayer/exoplayer/2.6.1/exoplayer-2.6.1.pom
       - file:/Users/gtalarico/Library/Android/sdk/extras/android/m2repository/com/google/android/exoplayer/exoplayer/2.6.1/exoplayer-2.6.1.jar
       - https://dl.google.com/dl/android/maven2/com/google/android/exoplayer/exoplayer/2.6.1/exoplayer-2.6.1.pom
       - https://dl.google.com/dl/android/maven2/com/google/android/exoplayer/exoplayer/2.6.1/exoplayer-2.6.1.jar
       - https://repo.maven.apache.org/maven2/com/google/android/exoplayer/exoplayer/2.6.1/exoplayer-2.6.1.pom
       - https://repo.maven.apache.org/maven2/com/google/android/exoplayer/exoplayer/2.6.1/exoplayer-2.6.1.jar
       - https://jcenter.bintray.com/com/google/android/exoplayer/exoplayer/2.6.1/exoplayer-2.6.1.pom
       - https://jcenter.bintray.com/com/google/android/exoplayer/exoplayer/2.6.1/exoplayer-2.6.1.jar
     Required by:
         project :app
   > Could not find com.google.android.exoplayer:extension-leanback:2.6.1.
     Searched in the following locations:
       - file:/Users/gtalarico/Library/Android/sdk/extras/m2repository/com/google/android/exoplayer/extension-leanback/2.6.1/extension-leanback-2.6.1.pom
       - file:/Users/gtalarico/Library/Android/sdk/extras/m2repository/com/google/android/exoplayer/extension-leanback/2.6.1/extension-leanback-2.6.1.jar
       - file:/Users/gtalarico/Library/Android/sdk/extras/google/m2repository/com/google/android/exoplayer/extension-leanback/2.6.1/extension-leanback-2.6.1.pom
       - file:/Users/gtalarico/Library/Android/sdk/extras/google/m2repository/com/google/android/exoplayer/extension-leanback/2.6.1/extension-leanback-2.6.1.jar
       - file:/Users/gtalarico/Library/Android/sdk/extras/android/m2repository/com/google/android/exoplayer/extension-leanback/2.6.1/extension-leanback-2.6.1.pom
       - file:/Users/gtalarico/Library/Android/sdk/extras/android/m2repository/com/google/android/exoplayer/extension-leanback/2.6.1/extension-leanback-2.6.1.jar
       - https://dl.google.com/dl/android/maven2/com/google/android/exoplayer/extension-leanback/2.6.1/extension-leanback-2.6.1.pom
       - https://dl.google.com/dl/android/maven2/com/google/android/exoplayer/extension-leanback/2.6.1/extension-leanback-2.6.1.jar
       - https://repo.maven.apache.org/maven2/com/google/android/exoplayer/extension-leanback/2.6.1/extension-leanback-2.6.1.pom
       - https://repo.maven.apache.org/maven2/com/google/android/exoplayer/extension-leanback/2.6.1/extension-leanback-2.6.1.jar
       - https://jcenter.bintray.com/com/google/android/exoplayer/extension-leanback/2.6.1/extension-leanback-2.6.1.pom
       - https://jcenter.bintray.com/com/google/android/exoplayer/extension-leanback/2.6.1/extension-leanback-2.6.1.jar
     Required by:
         project :app

Possible solution:
 - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
 - ```