Unable to set up Gradle

I’m unable setup Gradle as in the cmd (even after I’ve done all the step to set it up correctly) it keeps on giving the error “Gradle is an unknown command” (I know that it’s not what it says but this is basically what it says, but instead I mashed my keyboard)
Screenshot 2024-08-22 155009

I also looked at the similar forums that popped up while making this, nothing really sounded like it was going to fix this issue I’ve been having, and am I the only that has been encountering this issue? Or are other people encountering this issue? If you are encountering this issue but you’ve solved it already, could you help me out here? I’d appreciate it

The simplest solution is, don’t even try to.
Revert what you did and be fine.

Don’t get me wrong, I’m not saying you should not use Gradle, you definitely should.
But there are only very rare cases where you need an installed version of Gradle.
Practically all project (others imho have a build bug) should include the 4 Gradle Wrapper files and you should always use those to run a given build.

An installed Gradle version you usually only need if you need to bootstrap a new Gradle build without having any other Gradle build available and without having an IDE with built-in Gradle support available,
or if you have such a project with said build bug. But in the latter case, you anyway then have to make sure you are using the appropriate Gradle version for that build manually and not just “some” you have installed.

Ok I’ve re-downloaded, re-setup Gradle, and it turns out that I entered the path in wrong, I had it on 8.9 instead of 8.10

So, now the error is no more

1 Like