Hi there! I've managed to configure and compile my project using NDK with Vuforia as a library. When I run it in a real device (Android 5.1), I'm getting the following error:
- Native library libVuforia.so loaded
- Vuforia has been initialized successfully
- Vuforia SDK version 5.5.9
- JNI DETECTED ERROR IN APPLICATION: GetStringUTFChars received null jstring in call to GetStringUTFChars from int com.vuforia.VuforiaBase.progressiveInit()
This is an execution error, but it's only happening when I compile and run the app using Android Studio (with experimental ndk support in it). When I use Eclipse (with Android.mk and Application.mk), and compile from the command line (with ndk-build) I'm not getting any error and the app works as expected.
The reason why I'm trying to migrate to Android Studio is basically because debugging is really easy for c++ code.
Any idea of what is happening here? I've read something related to checkjni and its usage in 5.0+ devices (as it uses ART instead of Dalvik as VM).