Hi there are many questions asked about this issue but couldn't ressolve mine. So posted my error, If someone can guide me to specific error. Thanks
Build command failed.
Error while executing process C:\Users\Spartan_Base\AppData\Local\Android\sdk\ndk-bundle\ndk-build.cmd with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=D:\android\app\src\main\jni\Android.mk NDK_APPLICATION_MK=D:\android\app\src\main\jni\Application.mk APP_ABI=armeabi-v7a NDK_ALL_ABIS=armeabi-v7a NDK_DEBUG=0 APP_PLATFORM=android-14 NDK_OUT=D:/android/app/build/intermediates/ndkBuild/release/obj NDK_LIBS_OUT=D:\android\app\build\intermediates\ndkBuild\release\lib APP_SHORT_COMMANDS=false LOCAL_SHORT_COMMANDS=false -B -n}
process_begin: CreateProcess(NULL, "", ...) failed.
Android NDK: D:\android\app\src\main\jni\Android.mk: Cannot find module with tag 'box2D' in import path
Android NDK: Are you sure your NDK_MODULE_PATH variable is properly defined ?
Android NDK: The following directories were searched:
Android NDK:
Build command failed.
Error while executing process C:\Users\Spartan_Base\AppData\Local\Android\sdk\ndk-bundle\ndk-build.cmd with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=D:\android\app\src\main\jni\Android.mk NDK_APPLICATION_MK=D:\android\app\src\main\jni\Application.mk APP_ABI=armeabi-v7a NDK_ALL_ABIS=armeabi-v7a NDK_DEBUG=1 APP_PLATFORM=android-14 NDK_OUT=D:/android/app/build/intermediates/ndkBuild/debug/obj NDK_LIBS_OUT=D:\android\app\build\intermediates\ndkBuild\debug\lib APP_SHORT_COMMANDS=false LOCAL_SHORT_COMMANDS=false -B -n}
Android NDK: D:\android\app\src\main\jni\Android.mk: Cannot find module with tag 'box2D' in import path
Android NDK: Are you sure your NDK_MODULE_PATH variable is properly defined ?
Android NDK: The following directories were searched:
Android NDK:
process_begin: CreateProcess(NULL, "", ...) failed.
Your Android.mk has a line
$(call import-module, box2D)
but you did not add the path to box2D/Android.mk to NDK_MODULE_PATH.
See https://developer.android.com/ndk/guides/android_mk.html for explanations.
If you download https://github.com/mcxiaoke/box2d-ndk to D:\Downloads\box2D, you can add line
NDK_MODULE_PATH += D:/Downloads/box2D/jni
to D:\android\app\src\main\jni\Application.mk