The error message you're seeing suggests that the ./gradlew command is not recognized by your system.

On Windows, you'll need to use the gradlew.bat file instead of ./gradlew.

Try running the command gradlew.bat assembleDebug in your project directory instead of ./gradlew assembleDebug. This should initiate the build process and generate the debug APK file.

If you still encounter the same error, make sure that you're running the command in the correct directory where the gradlew.bat file is located. You can navigate to your project directory using the cd command in the terminal.

Also, ensure that you have the required version of Gradle installed on your system. You can check this by running the command gradle -v in your terminal. If Gradle is not installed, you can download and install it from the official Gradle website.