Android NDK: Your APP_BUILD_SCRIPT points to an unknown file: C:\android-ndk/jni /Android.mk
2014-04-21 18:03
1531 查看
http://stackoverflow.com/questions/21158332/android-ndk-your-app-build-script-points-to-an-unknown-file-c-android-ndk-jni
The result is because you haven't set NDK_PROJECT_PATH to the parent directory of "jni" in your project.
For example, in my project directory, I use:
And compilation works fine.
The result is because you haven't set NDK_PROJECT_PATH to the parent directory of "jni" in your project.
For example, in my project directory, I use:
export NDK_PROJECT_PATH=`pwd`
And compilation works fine.
相关文章推荐
- Package supports: Android NDK: Your APP_BUILD_SCRIPT points to an unknown file: ./jni/Android.mk
- Your APP_BUILD_SCRIPT points to an unknown file: ./jni/Android.mk
- Android_NDK问题:APP_BUILD_SCRIPT points to an unknown file: <project_path>/jni/Android.mk
- [ndk]Android NDK: Your APP_BUILD_SCRIPT points to an unknown file/Please define the NDK_PROJECT_PATH
- Android NDK: Your APP_BUILD_SCRIPT points to an unknown file
- Android:Your APP_BUILD_SCRIPT points to an unknown file
- Android NDK: Your APP_BUILD_SCRIPT points to an unknown file:
- ndk-build NDK_PROJECT_PATH=. NDK_APPLICATION_MK=Application.mk APP_BUILD_SCRIPT=Android.mk
- Android问题集锦转载之四:Android NDK: APP variable defined to unknown applications: hello-jni
- Error:Timeout waiting to lock cp_proj class cache for build file 'D:\androidw\TuYeLiangPin\app\bui
- SnakeGo : JNI, Android.mk and ndk-build
- Android Build System ---- how to add your product and board config *.mk
- Android NDK Eclipse Build Error: Unable to rename file. Reason: File exists
- Using Qt to build an Omi App for iOS (and Android)
- Android Build System ---- how to add your product and board config *.mk
- Android gradle问题解决: This app has been built with an incorrect configuration. Please configure your build for VectorDrawableCompat
- android app运行出现Unable to delete file: .....build\outputs\apk.debug错误
- 报错 Error:Timeout waiting to lock cp_proj class cache for build file 'D:\androidw\TuYeLiangPin\app\b
- Jni中执行ndk-build,编译第三方静态库(.a)和动态库(.so)的Android.mk文件写法
- NDK: jni/Android.mk:8: ../../sdk/native/jni/OpenCV.mk: No such file or directory make: