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

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:

Posts that may be related to "Android Development: Permission denied when running ./gradlew in Mac":

Catzie

An odd human being who happens to have a variety of ever-changing interests, but right now they are programming, making up silly song/rap lyrics, K-pop, drawing, creating unique dessert/drink flavors, obsessing about finding out how some things works, automation, anime, video games... Ran online dessert shops Cookies PH and Catzie's Cakery in her past life.

Leave a Reply

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