Thanks, and sorry I should have mentioned I added
APP_ALLOW_MISSING_DEPS=true
in my game’s Application.mk file, but that just gives this:
[CXX1429] error when building with ndkBuild using C:\Work\Android\androidprojects\Firefight\app\src\main\jni\Android.mk: C++ build system [configure] failed while executing:
@echo off
“C:\Work\Android\androidSDK\ndk-bundle\ndk-build.cmd” ^
“NDK_PROJECT_PATH=null” ^
“APP_BUILD_SCRIPT=C:\Work\Android\androidprojects\Firefight\app\src\main\jni\Android.mk” ^
“NDK_APPLICATION_MK=C:\Work\Android\androidprojects\Firefight\app\src\main\jni\Application.mk” ^
“APP_ABI=arm64-v8a” ^
“NDK_ALL_ABIS=arm64-v8a” ^
“NDK_DEBUG=1” ^
“APP_PLATFORM=android-23” ^
“NDK_OUT=C:\Work\Android\androidprojects\Firefight\app\build\intermediates\cxx\Debug\p1d1xc4r/obj” ^
“NDK_LIBS_OUT=C:\Work\Android\androidprojects\Firefight\app\build\intermediates\cxx\Debug\p1d1xc4r/lib” ^
“APP_SHORT_COMMANDS=false” ^
“LOCAL_SHORT_COMMANDS=false” ^
-B ^
-n
from C:\Work\Android\androidprojects\Firefight\app
fcntl(): Bad file descriptor
C:/Work/Android/androidSDK/ndk-bundle/build//…/build/core/build-binary.mk:654: Android NDK: Module SDL2_mixer depends on undefined modules: wavpack gme
C:/Work/Android/androidSDK/ndk-bundle/build//…/build/core/build-binary.mk:667: *** Android NDK: Note that old versions of ndk-build silently ignored this error case. If your project worked on those versions, the missing libraries were not needed and you can remove those dependencies from the module to fix your build. Alternatively, set APP_ALLOW_MISSING_DEPS=true to allow missing dependencies. . Stop.