Hi all. Does anyone know why this happens? ```* Wh...
# community-support
n
Hi all. Does anyone know why this happens?
Copy code
* What went wrong:
A problem occurred evaluating project ':app'.
> Failed to apply plugin 'com.android.internal.version-check'.
   > Could not create plugin of type 'VersionCheckPlugin'.
      > com/google/common/base/Splitter
j
Sometimes the "short" error messages are more or less useless like here. Please run with
--stacktrace
which should give you more insights. This maybe some kind of version conflict with "Guava" (from which the Splitter class is). I.e. two plugins you have use different versions of Guava and Gradle then selects one that the 'VersionCheckPlugin' has trouble with. Sometimes making sure all plugins are upgraded to the latest version could already help. You can run
./gradlew buildDependencies
to see which plugins you have and which depend on which Guava versions.
v
Probably a breaking change in Guava from the version that plugin is using to the version that is used through conflict resolution. Can you share a build
--scan
?
n
@Vampire here's the log
interestingly, this fails on our Github Action, but successfully on our local env
v
That is not a build
--scan
and also seems to be a different exception
n
hmm, i saw this tho
Copy code
Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.android.build.gradle.internal.plugins.VersionCheckPlugin
v
Yes, but I'm your original message you had an additional cause regarding Guava. But still, a build
--scan
could help maybe