#My computer crashed and now gradle is being weird
1 messages ยท Page 1 of 1 (latest)
How do I clean the build?
execute the command he showed or click on the task in the gradle window on the right of intellij
Have you tried reinstalling intellij ?
That sounds like non sense. never in my live I had to reinstall IntelliJ or seen someone suggest doing it. Max you should have to do is invalidatin the IJ cache
every time I put in ./gradlew clean it just tries to build it then gets the same error for some reason
can you delete whatever folder it builds to? maybe also try to remove gradle cache at "~/.gradle/caches" or %USERPROFILE%\.gradle\caches equivalent for windows 
Please show the whole output
you didnt censor the 2nd line, if you care about censoring
probably try to delete the output folder or try to delete whatever is in the gradle cache
this is the gradlew clean command?
This looks like and sounds like the class of the build file is broken
how do I repair it?
where would I find the cache?
up here
or try to just delete the entire gradle folder if that still doesnt work afterwards
Also, any chance you cut out some text above the error from the image?
nope it's just the more of the same since I tried it more then once
it's building here can I just delete this or will that mess uo even more stuff?
nope
delete the cache
%USERPROFILE%\.gradle\caches
or just the entire gradle folder at %USERPROFILE%\.gradle
After you have deleted the gradle cache in ~/.gradle/caches and projectfolder/.gradle
Can you try once again with ./gradlew clean -s --debug and send the output.
so I delete all of this right?
show the path where you're at, no idea what folder that is ^^
yup just delete the caches folder itself
wouldn't really recommend deleting the whole folder. you can also put customized stuff in there like properties files which are accessible across all projects. Also many libraries will have to be re downloaded, potentially jdks etc
redownloading is easier than debugging whatever issue is causing this 
well, it says what issue it is ๐
try and see, seems promising 
yeah it's all working thanks a lot!
@blissful cypress
Your question has been closed due to inactivity.
If it was not resolved yet, feel free to just post a message below
to reopen it, or create a new thread.
Note that usually the reason for nobody calling back is that your
question may have been not well asked and hence no one felt confident
enough answering.
When you reopen the thread, try to use your time to improve the quality
of the question by elaborating, providing details, context, all relevant code
snippets, any errors you are getting, concrete examples and perhaps also some
screenshots. Share your attempt, explain the expected results and compare
them to the current results.
Also try to make the information easily accessible by sharing code
or assignment descriptions directly on Discord, not behind a link or
PDF-file; provide some guidance for long code snippets and ensure
the code is well formatted and has syntax highlighting. Kindly read through
https://stackoverflow.com/help/how-to-ask for more.
With enough info, someone knows the answer for sure ๐