I\'ve tried gradlew clean and every other solution available here and on GitHub but the error doesn\'t match and solution doesn\'t work
Error on cmd A
As an update to this answer (if people can't figure out why, especially one Mac)
use sudo! I was trying to figure out why gradlew commands were not running for ages, turns out - it didnt have permission!
Use:
sudo ./gradlew [command]
I'm so frustrated and happy at the same time.