Error when sync

hello anyone can i got some help, i try hard about this error.

A problem occurred evaluating project ‘:app’.

Could not resolve all files for configuration ‘classpath’.
Could not find com.g00fy2:versioncompare:1.3.4.
Searched in the following locations:
- https://jcenter.bintray.com/com/g00fy2/versioncompare/1.3.4/versioncompare-1.3.4.pom
Required by:
unspecified:unspecified:unspecified

  • Try:

If the artifact you are trying to retrieve can be found in the repository but without metadata in ‘Maven POM’ format, you need to adjust the ‘metadataSources { … }’ of the repository declaration.
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use ‘–warning-mode all’ to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to Command-Line Interface Reference in the Gradle documentation.
BUILD FAILED in 1s

Ask Gemini Could not find com.g00fy2:versioncompare:1.3.4

jcenter was sunset on August 15th 2024, you’ll have to find which plugin is adding that dependency and see if there is a newer version that doesn’t fetch the dependency from jcenter, if not you’ll have to fork it and update it yourself.