Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

library not found in mavenCentral, only jcenter #148

Open
nashihu opened this issue May 21, 2021 · 0 comments
Open

library not found in mavenCentral, only jcenter #148

nashihu opened this issue May 21, 2021 · 0 comments

Comments

@nashihu
Copy link

nashihu commented May 21, 2021

hello,

according to this comment, this library is available at mavenCentral

but when i try to sync using mavenCentral in gradle project level like this:

buildscript {
    repositories {
        google()
        mavenCentral()
        // jcenter()
    }
    dependencies {
        classpath "com.android.tools.build:gradle:4.1.2"

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        google()
        mavenCentral()
        // jcenter()
    }
}

it gives error not found like this

Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
   > Could not find com.alibaba.android:ultraviewpager:1.0.7.7.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/alibaba/android/ultraviewpager/1.0.7.7/ultraviewpager-1.0.7.7.pom
       - https://repo.maven.apache.org/maven2/com/alibaba/android/ultraviewpager/1.0.7.7/ultraviewpager-1.0.7.7.pom
     Required by:
         project :app

any ideas? thanks...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant