[fix] bash: gradlew: command not found

In you are trying to run the gradle wrapper command on your Unix-Like operating system such as Ubuntu and you get the below error,

# gradlew clean
bash: gradlew: command not found

Well you need to run ./gradlew followed by your command instead of just gradlew.

bash- gradlew- command not found

Also make sure that you have needed permission to execute gradlew, or else provide the execute permissions as follows

chmod +x gradlew

Comments & Discussion

Facing issues? Have questions? Post them here! We're happy to help!