android studio mac :-bash: gradlew: command not found
阿新 • • 發佈:2019-01-30
gradlew is not in your global path. To execute the 'clean' task (or any task for that matter) using the gradle wrapper (gradlew) in your project directory in your terminal, specify the current directory with the './':
./gradlew clean
Running
mac, you also have to do "chmod 755 gradlew" on the file before to make it executable.
– Simon
BengtssonMar
31 '14 at 16:06
Going
with @SimonBengtsson, if you are using linux you must do "sudo chmod +x gradlew" before you do the "./gradlew clean" to make sure it is executable. It did not work until I did this. – RichardApr
2 '14 at 21:57