简体   繁体   中英

NDK build error after replacing Tegra Android Development Pack by ndk-r9c

I uninstalled Tegra Android Development Pack and manually reconfigured Eclipse's NDK setting as android-ndk-r9c .

However, it seems that eclipse is still matching to the removed C:/NVPACK path, may I know how to solve this problem?

Build of configuration Default for project OpenCV Sample - native-activity **

C:\\android-ndk-r9c\\ndk-build.cmd...

.....make.exe: * No rule to make target C:/NVPACK/android-ndk-r8/sources/android/native_app_glue/android_native_app_glue.c', needed by obj/local/armeabi-v7a/objs-debug/android_native_app_glue/android_native_app_glue.o'. Stop.

I had a very similar problem after upgrading TADP. It was still looking for android-ndk-r10 even if the right NDK was now android-ndk-r10c. I deleted all the .a .so .o .od in obj\\local and rebuilt all, and it worked!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM