I want to build project in Android Studio 3.1.3 on MacOS High Sierra 10.13 from terminal with command:
./gradlew clean build
output: bash:\r: No such file or directory.
or
/gradlew clean build
bash:No such file or directory.
or
gradlew clean build
bash: gradlew command not found.
How can I execute build from command line ? I have looked on stackoverflow answers, but they didn't help me. Thanks.
Your problem is incorrectly cloned and converted project - see here: env: bash\r: No such file or directory