T.dog T.dog - 2 months ago 13
Android Question

'.' is not recognized as an internal or external command, operable program or batch file Android

I'd like to use this command

./gradlew clean
in terminal in Android Stuido but I'm getting this message:

'.' is not recognized as an internal or external command,
operable program or batch file.


I'm trying to this in the project folder:
C:\Users\Username\AndroidStudioProjects\Projectname>


Have you any idea how can I fix this?
Thanks

Answer

./gradlew is used on Linux and Mac. On Windows you must use gradlew or gradlew.bat.