Please do not split topics across several threads.
This makes following the conversation in the threads view very hard as the context of the other messages is missing.
If you have additional information either edit the original message or post to its thread.
And please never anywhere share screenshots of text if you only want to share the text and not something additional like colors or IDE annotations. Text in images is hard to read, especially on mobile, very hard to copy, and nearly impossible to search for.
Regarding the problem, this does not seem to have anything to do with Gradle itself. It seems to be highly Android specific, so might be better off in an Android community or should at least move your question to #CJYS1DAP5.
But just judging by the error message I'd guess that NDK location is corrupted or something like that.