I have setup advance vuforia sample need to drag teapot but there are so many methods showing red and saying cannot resolve corresponding JNI functions java_com_vuforia_samples please tell me what to do?
Attachment | Size |
---|---|
![]() | 158.28 KB |
![]() | 165.03 KB |
![]() | 163.29 KB |
Android Studio shows the message "cannot resolve corresponding JNI functions" because it cannot find the JNI functions within the project; this however is simply due to the fact that the native "JNI/C++" code is built into a library as part of the ndk-build step which is executed as a separate build step via command line. SO, there are no exported symbols into the AS project.
That message should not prevent you from successfully building and running the App, as the library will be loaded at runtime.