Per JFrog, they are sunsetting Bintray (which includes JCenter) on May 1st, 2021.
To prep for this, I opened my build.gradle
and replaced jcenter()
with mavenCentral()
. My build.gradle
now looks like this (with some parts removed):
buildscript {
repositories {
google()
// jcenter()
mavenCentral()
}
dependencies {
// ...
}
}
allprojects {
repositories {
google()
// jcenter()
mavenCentral()
maven {
url "https://jitpack.io"
}
}
}
However, since replacing jcenter()
with mavenCentral()
, I receive this error:
A problem occurred configuring root project 'Redacted'.
> Could not resolve all artifacts for configuration ':classpath'.
> Could not find org.jetbrains.trove4j:trove4j:20160824.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/org/jetbrains/trove4j/trove4j/20160824/trove4j-20160824.pom
- https://repo.maven.apache.org/maven2/org/jetbrains/trove4j/trove4j/20160824/trove4j-20160824.pom
Required by:
project : > com.android.tools.build:gradle:4.1.2 > com.android.tools.build:builder:4.1.2 > com.android.tools:sdk-common:27.1.2
Possible solution:
- Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
Is there another repository I can add to resolve this, or does com.android.tools:sdk-common
need to update to use a different version of org.jetbrains.trove4j:trove4j
?
Update: Version 4.1.3 still has the same issue.