1. 程式人生 > >NDK編譯問題彙總

NDK編譯問題彙總

APP_ALLOW_MISSING_DEPS=true 錯誤:

[email protected]:~/OpenNI1.5/openni1.5/OpenNI/Platform/Android/jni$ ndk-build Android NDK: android-9 is unsupported. Using minimum supported version android-14.    
/home/guanlin/program/android-ndk-r16b/build/core/build-binary.mk:693: Android NDK: Module NiSkeletonBenchmark depends on undefined modules: c usb    
/home/guanlin/program/android-ndk-r16b/build/core/build-binary.mk:706: *** Android NDK: Aborting (set APP_ALLOW_MISSING_DEPS=true to allow missing dependencies)    .  Stop.
 

解決方法:

APP_ALLOW_MISSING_DEPS=true加入makefile中Android.mk 或者Application.mk中。