Log in or register to post comments

What does .jni file?

January 7, 2014 - 5:10am #1


I downloaded Image Target sample project and installed to my android device using Eclipse. I did changes as told in https://developer.vuforia.com/resources/dev-guide/textured-plane-target and nothing happened as i hoped. Later, i deleted .jni file from Image Target project and cleaned , built and run in my android device again, i saw the teapot on stones image. I am sure, i integrated ndk-builder carefully.

So i wonder,  What actually .jni file does?




What does .jni file?

January 7, 2014 - 6:35am #2

Not sure which file you refer to. The samples contain a jni folder, which contains the C++ source code that you need to build with ndk-build.

Be sure to always build the C++ code in the JNI folder using ndk-build, and to refresh the Eclipse project after that, so that the changes are picked up.

Also, see this thread on compile and runtime issues:


and the Getting Started guide on how to build the samples:



Log in or register to post comments