- Home /
I need help with a Gradle error
Hello,
I recently started working with Unity and I'm almost done with my first simple game, but it seems that Gradle is the worst thing to have ever been coded in existence, it's been horrible with both Unity and Android Studio, I actually can't even use the latter.. so I wish they would just drop it and start using something more reliable, anyhow .. this is the error I have been getting and I don't know how to fix it, I didn't touch gradle or anything related to it so I don't even know why it keeps erroring out on it's own, what a trash piece of software..
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':launcher'.
Could not resolve all artifacts for configuration ':launcher:classpath'.
Could not find builder.jar (com.android.tools.build:builder:3.4.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/build/builder/3.4.0/builder-3.4.0.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
Answer by razzraziel · Feb 25, 2021 at 08:59 PM
@CelestialMavis Best aproach is installing Unity via Hub and including all android packages along with it. This way you can be sure the versions are compatiple. And also you don't need to give different paths for it.