We are using ndk to compile C/C++ code to use, ndk-build will not compile your project if you have spaces inside the folder name
NDK prevents it from building projects with spaces in folder names. The bug has been reported to the NDK developers and they are working on a fix.
The bug can be traced back to 10 Years, For some reason it is not yet fixed.
Work Around
Remove all whitespace from your directory.
if your project directory is /me/projects/flutter projects/my_app, rename it to /me/projects/flutter-projects/my_app by removing the spaces in your directory names.