Error message “gradlew: command not found”

Linux and macOS

As noted in the comments, just running

./gradlew

worked for me. Adding the ./ tells it to look in the current directory since it isn’t in the path.

If it stills doesn’t work, run (as commented by Fadi)

chmod +x gradlew

And then try again

Windows PowerShell

.\gradlew

Leave a Comment