This is a pretty straightforward question I would like to use the RealmRecyclerViewAdapter library on my project, but when I try to import it using mavenCentral() on my dependencies I got this error:
* What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
> Could not find io.realm:android-adapters:3.1.0.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/io/realm/android-adapters/3.1.0/android-adapters-3.1.0.pom
- https://repo.maven.apache.org/maven2/io/realm/android-adapters/3.1.0/android-adapters-3.1.0.pom
Required by:
project :app
However if I just use jcenter() it works fine.
I'm changing it here at my module gradle file:
repositories{
jcenter()
//mavenCentral()
}
Is there any way to import this using mavenCentral() ?