Android Development: Permission denied when running ./gradlew in Mac

Last updated on

Written by

on

in

, ,

I’m using a Mac at the moment to work on my Android app projects.

For some reason I need to run ./gradlew in the terminal, but I was getting this error:

-bash: ./gradlew: Permission denied

To fix this, what I did was run the following commands:

After those commands, my Mac downloaded numerous files and it took an hour to finish because of our poor Internet connection in the workplace. 🙁

After an hour and a half, I was able to finally use the command ./gradlew on the Mac Mini. Phew!

Related Posts

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *