I cloned and ran the program from this source: https://github.com/fdelacruzsoto/md-chess-android
It syncs, but when I run the program, the build fails with this messsage:
Build command failed.
Error while executing process /Users/AyushArora/Library/Android/sdk/ndk-bundle/ndk-build with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=/Users/AyushArora/AndroidStudioProjects/md-chess-android2/app/src/main/jni/Android.mk NDK_APPLICATION_MK=/Users/AyushArora/AndroidStudioProjects/md-chess-android2/app/src/main/jni/Application.mk APP_ABI=x86 NDK_ALL_ABIS=x86 NDK_DEBUG=1 APP_PLATFORM=android-19 NDK_OUT=/Users/AyushArora/AndroidStudioProjects/md-chess-android2/app/build/intermediates/ndkBuild/debug/obj NDK_LIBS_OUT=/Users/AyushArora/AndroidStudioProjects/md-chess-android2/app/build/intermediates/ndkBuild/debug/lib /Users/AyushArora/AndroidStudioProjects/md-chess-android2/app/build/intermediates/ndkBuild/debug/obj/local/x86/libgtb.so} [x86] Compile : gtb <= gtb-probe.c
clang: error: unknown argument: '-mandroid'
make: *** [/Users/AyushArora/AndroidStudioProjects/md-chess-android2/app/build/intermediates/ndkBuild/debug/obj/local/x86/objs/gtb/gtb-probe.o] Error 1