trov4j not available in maven central

Issue #77 resolved
Paul Smith created an issue

jcenter is quickly approaching sunset and planned brown outs. See announcement below.

https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/

Removing the jcenter() repository in android projects and substituting mavenCentral() results in Android Studio failing to build all android projects with the following error. This is caused by the trove4j package not being available in the maven central repository. Uploading an artifact to maven central would resolve this issue.

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.1 > com.android.tools.build:builder:4.1.1 > com.android.tools:sdk-common:27.1.1

If this is not addressed, all Android Studio projects will fail to build on April 12th and April 26th 2021, due to the planned jcenter brownout. See linked announcement above.

Comments (4)

  1. Paul Smith reporter

    Android Studio is bringing these in from org.jetbrains.trove4j automatically. How can I change it to point to net.sf.trove4j instead?

    If this is the wrong place to report this issue, where should I report it instead?

  2. Rob Eden

    I would start with JetBrains, since it would appear to be their fork being reference and they should know more about Android Studio. Sorry I can’t be of more help.

  3. Log in to comment