PRNDcompany / YouTubePlayerView

Super easy Youtube Player View, not Fragment
163 stars 24 forks source link

Can not find aar when I remove JCenter and use mavenCentral instead #19

Open Jung0x12 opened 3 years ago

Jung0x12 commented 3 years ago

Problem as title, has anybody got any idea ? Thx My dependencies below

implementation "kr.co.prnd:youtube-player-view:1.4.0"
buildscript {
    ...
    repositories {
        google()
        mavenCentral()
    }
    dependencies {
        ...
    }
}
allprojects {
    repositories {
        google()
        mavenCentral()
    }
    apply from: "$rootDir/detekt.gradle"
}

Error

Execution failed for task ':app:dataBindingMergeDependencyArtifactsDebug'.
> Could not resolve all files for configuration ':app:debugCompileClasspath'.
   > Could not find youtube-player-view-1.4.0.aar (kr.co.prnd:youtube-player-view:1.4.0).
     Searched in the following locations:
         https://repo.maven.apache.org/maven2/kr/co/prnd/youtube-player-view/1.4.0/youtube-player-view-1.4.0.aar

Possible solution:
 - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
aldyahsn commented 3 years ago

you can use version 1.3.0

GianfrancoMS commented 3 years ago

But, why isn't it posibble to use version 1.4.0 with mavenCentral and google? Seems very weird, specailly when jcenter is deprecated

GianfrancoMS commented 3 years ago

Would you mind pushing version 1.4.0 to mavenCentral?

GianfrancoMS commented 3 years ago

Seems like the aar file is missing in mavenCentral. However, the entry does exists https://repo.maven.apache.org/maven2/kr/co/prnd/youtube-player-view/1.4.0/

Maybe publish to maven one more time?

GianfrancoMS commented 3 years ago

@ted-prnd @tester-prnd help pls

jisungbin commented 2 years ago

+1

Faydee1220 commented 2 years ago

Still can't use 1.4.0, this link is 404 Not Found

Searched in the following locations: https://repo.maven.apache.org/maven2/kr/co/prnd/youtube-player-view/1.4.0/youtube-player-view-1.4.0.aar