Hi solar2d community.
I am getting this error when i try to build my project for android API 31:
FAILURE: Build failed with an exception.
* What went wrong:
Could not resolve all files for configuration 'classpath'.
> Could not find klaxon-5.0.1.jar (com.beust:klaxon:5.0.1).
Searched in the following locations:
https://jcenter.bintray.com/com/beust/klaxon/5.0.1/klaxon-5.0.1.jar
* Try:
> 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 8.0.
My gradle version is 8.9. I read in some forum and they said this: You need to update the build.gradle
file to use an alternative Maven repository. As of February 1, 2021, JCenter has been sunset, and many dependencies are being moved to other repositories like mavenCentral
. Make sure your build.gradle
file is configured to look in mavenCentral
. However, Since I am compiling from Solar2D and not natively, I don’t see how to make the change.
Solar2d version: 2024.3707
Do you have any idea about how to solve this issue. Thanks.