Exoplayer: Failed to resolve: support-media-compat

Created on 22 Dec 2018  路  5Comments  路  Source: google/ExoPlayer

when i add dependency of exoplayer,it occur this error,please help me how to resolve it,thank you.

question

Most helpful comment

I managed to solved it by put google() dependencies in first order

buildscript {
    repositories {
        google()
        jcenter()
        maven {
            url 'https://maven.fabric.io/public'
        }
    }
allprojects {
    repositories {
        google()
        jcenter()
        maven { url "https://jitpack.io" }
    }
}

All 5 comments

I've also got this error, any help will be appreciated

I managed to solved it by put google() dependencies in first order

buildscript {
    repositories {
        google()
        jcenter()
        maven {
            url 'https://maven.fabric.io/public'
        }
    }
allprojects {
    repositories {
        google()
        jcenter()
        maven { url "https://jitpack.io" }
    }
}

I managed to solved it by put google() dependencies in first order

buildscript {
    repositories {
        google()
        jcenter()
        maven {
            url 'https://maven.fabric.io/public'
        }
    }

allprojects { repositories { google() jcenter() maven { url "https://jitpack.io" } } }

thank you very much,it's really can resolved it

I assume there is no need to keep this open. Please let me know otherwise.

this is a valid solution :) thank you.

Was this page helpful?
0 / 5 - 0 ratings