I am learning how to write an Android application that uses the NDK in order to call OpenCV C++ functions.
I am using Eclipse ADT version 22.3 and NDK R9C.
I have imported the hello-jni sample application from the NDK samples, and it compiles, builds, and runs on my Android device without problems.
However, when I make changes to the project's C source file and rebuild, the changes are not reflected in the build. In fact, I can add a syntactic error into the C file and rebuild, but I get no errors.
Can someone please tell my why the JNI portion of my project is not getting recompiled?
I have tried to import the jni portion into Eclipse as a separate project. But Eclipse does not seem to understand the makefiles in the jni directory. It complains that the makefiles have no "all" targets (which they don't).