Cause: executing external native build for ndkBuild core/src/main/jni/Android.mk

The following error occurs when building the project, I downloaded it from github, compiled it according to the documentation and ran it showing.:
error:Cause: executing external native build for ndkBuild XXXX/core/src/main/jni/Android.mk