Ng Zhen Hao
03/11/2024, 7:28 AM* 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
Jendrik Johannes
03/11/2024, 7:49 AM--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.Vampire
03/11/2024, 7:50 AM--scan
?Ng Zhen Hao
03/11/2024, 7:52 AMNg Zhen Hao
03/11/2024, 7:53 AMVampire
03/11/2024, 7:54 AM--scan
and also seems to be a different exceptionNg Zhen Hao
03/11/2024, 7:56 AMCaused by: java.lang.NoClassDefFoundError: Could not initialize class com.android.build.gradle.internal.plugins.VersionCheckPlugin
Vampire
03/11/2024, 7:59 AM--scan
could help maybe