Issue
Getting error – 'gradlew' is not recognized as an internal or external command. operable program or batch file.
inside Android Studio terminal.
Can anyone please tell why it’s not recognizing gradlew
Solution
- gradlew command is available in your project directory. If you are trying to run this command from somewhere else it will throw error.
- Also gradlew command package is automatically generated by Android studio when you create a new project. It will also prompt you to generate new gradle wrapper when you open the project.
- you have to use ./gradlew instead of gradlew , if you are using Mac or Linux
Answered By – charlie