-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
Description
Issue description
As of a few hours ago, my builds are failing to find exoplayer 2.8+ (I also tried 2.9+, no difference) in Google repository. Never seen that before, always worked fine.
Reproduction steps
It's an Android gradle project.
Relevant lines:
allprojects {
repositories {
google()
jcenter()
}
}
ext {
exoplayer_version = '2.8+'
}
implementation 'com.google.android.exoplayer:exoplayer-core:' + exoplayer_version,
implementation 'com.google.android.exoplayer:exoplayer-dash:' + exoplayer_version,
Output:
> Could not find any matches for com.google.android.exoplayer:exoplayer-core:2.8+ as no versions of com.google.android.exoplayer:exoplayer-core are available.
Required by:
project :
> Could not find any matches for com.google.android.exoplayer:exoplayer-dash:2.8+ as no versions of com.google.android.exoplayer:exoplayer-dash are available.
Required by:
project :
Link to test content
I am able to reproduce with demos/main if I edit its build.gradle like this:
ext {
exoplayer_version = '2.9+'
}
dependencies {
implementation 'com.android.support:support-annotations:' + supportLibraryVersion
//implementation project(modulePrefix + 'library-core')
//implementation project(modulePrefix + 'library-dash')
// Do not reference projects, try to pull in from (Google) repository
implementation ('com.google.android.exoplayer:exoplayer-core:' + exoplayer_version)
implementation ('com.google.android.exoplayer:exoplayer-dash:' + exoplayer_version)
implementation project(modulePrefix + 'library-hls')
implementation project(modulePrefix + 'library-smoothstreaming')
implementation project(modulePrefix + 'library-ui')
withExtensionsImplementation project(path: modulePrefix + 'extension-ffmpeg')
withExtensionsImplementation project(path: modulePrefix + 'extension-flac')
withExtensionsImplementation project(path: modulePrefix + 'extension-ima')
withExtensionsImplementation project(path: modulePrefix + 'extension-opus')
withExtensionsImplementation project(path: modulePrefix + 'extension-vp9')
withExtensionsImplementation project(path: modulePrefix + 'extension-rtmp')
}
Output:
> Could not find any matches for com.google.android.exoplayer:exoplayer-core:2.9+ as no versions of com.google.android.exoplayer:exoplayer-core are available.
Searched in the following locations:
...
- https://dl.google.com/dl/android/maven2/com/google/android/exoplayer/exoplayer-core/maven-metadata.xml
- https://dl.google.com/dl/android/maven2/com/google/android/exoplayer/exoplayer-core/
- https://jcenter.bintray.com/com/google/android/exoplayer/exoplayer-core/maven-metadata.xml
- https://jcenter.bintray.com/com/google/android/exoplayer/exoplayer-core/
Required by:
project :demo
Editing build.gradle was necessary because normally demos/main brings in exoplayer libraries from the same (local file system) repository / build hierarchy.
Full file with edits available here:
https://gist.github.com/kmansoft/e90624a702574fa9d7ab414dc05170c7
Version of ExoPlayer being used
2.8+
Same with 2.9+
Device(s) and version(s) of Android being used
N/A - build problem, not runtime problem
Maybe this is the reason?
Gives me a "404" - same with exoplayer-dash instead of exoplayer-core.
andyli, Bakhrom, vignesh-s, Visualrainy, raymondctc and 14 more