AndroidJNI遇到的問題

凌浩雨發表於2017-10-31

ndk編譯時異常:

D:javaandroidstudiosdk
dk-bundle>ndk-build.cmd
Android NDK: Could not find application project directory !
Android NDK: Please define the NDK_PROJECT_PATH variable to point to it.
D:javaandroidstudiosdk
dk-bundleuild\..uildcoreuild-local.mk:151: *** Android NDK: Aborting    .  Stop.

解決方法

# ndk-build.cmd後 新增專案路徑
D:javaandroidstudiosdk
dk-bundle>ndk-build.cmd NDK_PROJECT_PATH=F:	estface-detectionopenCVSamplefacedetectionsrcmain


相關文章