Hello. when i want to add this library to my project , these messages are shown:
Failed to resolve: com.google.android.exoplayer:exoplayer-core:2.6.0
Install Repository and sync project
Open File
Show in Project Structure dialog
Failed to resolve: com.google.android.exoplayer:exoplayer-dash:2.6.0
Install Repository and sync project
Open File
Show in Project Structure dialog
I use this line to add ExoPlayer to my project:
implementation 'com.google.android.exoplayer:exoplayer:2.6.0'
why these errors are shown? I am not able to sync my project. Thanks.
Duplicate of #5225
@kambizira Please check it there
in build.gradle (project:projectname)
add this
allprojects {
repositories {
google()
jcenter()
maven {
url 'https://google.bintray.com/exoplayer/'
}
}
}
this solv my problem
Duplicate of #5225
Most helpful comment
in build.gradle (project:projectname)
add this
allprojects {
repositories {
google()
jcenter()
maven {
url 'https://google.bintray.com/exoplayer/'
}
}
}
this solv my problem