Could not create service of type FileHasher using BuildSessionServices.createFileHasher().

Hi I’ve been trying to export a game into a .aab file and the first time I exported it, it worked fine. But after some edits to the code which fixed some minor coding errors, the second export would show this error message:

FAILURE: Build failed with an exception.

What went wrong:
Gradle could not start your build.
Could not create service of type FileHasher using BuildSessionServices.createFileHasher().
java.io.FileNotFoundException: /Users/itrn7rec/Desktop/Finalized training games/Categorical Logic copy/android/build/.gradle/6.5/fileHashes/fileHashes.lock (Operation not permitted)

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

BUILD FAILED in 473ms

Exit Code: 1

does anyone know what this is?