After removing jcenter() as a repository, I get th...
# android
s
After removing jcenter() as a repository, I get the following error when i try to run ./gradlew lintDebug. I assume this means trove4j does not exist in either google() or mavenCentral()
Copy code
Execution failed for task ':app:lintDebug'.
> Could not resolve all files for configuration ':app:lintClassPath'.
   > 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 :app > com.android.tools.lint:lint-gradle:27.1.2 > com.android.tools:sdk-common:27.1.2
         project :app > com.android.tools.lint:lint-gradle:27.1.2 > com.android.tools.external.com-intellij:intellij-core:27.1.2
👀 1
s
👍 1
v
Actually that's interesting, accoring to https://mvnrepository.com/artifact/org.jetbrains.trove4j/trove4j/20160824 it is not even available in JCenter, but only in some Spring repos, but only at a path that requires authentication it seems
But it seems 3 years ago the coordinates were changed from
org.jetbrains.trove4j:trove4j
to
org.jetbrains.intellij.deps:trove4j
and later versions were published to Maven Central: https://mvnrepository.com/artifact/org.jetbrains.intellij.deps/trove4j Here you can track and vote for the old version being pushed to Maven Central too: https://youtrack.jetbrains.com/issue/IDEA-261387