C++ Nuitrack init method crashes Android App

I have compile some c++ code for my android app that compiles properly with the necessary libraries included from Nuitrack/lib/android. However, when it runs the line tdv::nuitrack::Nuitrack::init(""); in android it instantly crashes the app. From the log files it seems to crash the app here:
/data/app/org.godotengine.androidtest-1/lib/arm/libmiddleware.so (tdv::nuitrack::middleware::android::AndroidApp::attachCurrentThread()+19)

Here is the crash dump.
The libgodot_android.so lines are the Godot game engine render pausing and closing.

********** Crash dump: **********
Build fingerprint: 'Android/rk3288_box/rk3288_box:5.1.1/LMY47V/root01172220:userdebug/test-keys'
#00 0x00048998 /data/app/org.godotengine.androidtest-1/lib/arm/libmiddleware.so (tdv::nuitrack::middleware::android::AndroidApp::attachCurrentThread()+19)
#01 0x00048d6d /data/app/org.godotengine.androidtest-1/lib/arm/libmiddleware.so (tdv::nuitrack::middleware::android::NuitrackManager::callMethod(std::string const&, std::string&)+60)
#02 0x000499a7 /data/app/org.godotengine.androidtest-1/lib/arm/libmiddleware.so (tdv::nuitrack::middleware::android::NuitrackManager::getDataPath()+126)
#03 0x0001ad55 /data/app/org.godotengine.androidtest-1/lib/arm/libnuitrack.so (tdv::nuitrack::Nuitrack::init(std::string const&)+80)
#04 0x00033f57 /data/app/org.godotengine.androidtest-1/lib/arm/libnuitrack.so (nuitrack_InitializeFromConfig+18)
#05 0x000f87c4 /data/app/org.godotengine.androidtest-1/lib/arm/libgdnuitrack.so (tdv::nuitrack::Nuitrack::init(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&)+24)
#06 0x000f8608 /data/app/org.godotengine.androidtest-1/lib/arm/libgdnuitrack.so (godot::gNuitrack::_init()+40)
#07 0x000f847c /data/app/org.godotengine.androidtest-1/lib/arm/libgdnuitrack.so (void* godot::_godot_class_instance_func<godot::gNuitrack>(void*, void*)+112)
#08 0x00292bac /data/app/org.godotengine.androidtest-1/lib/arm/libgodot_android.so
#09 0x00291540 /data/app/org.godotengine.androidtest-1/lib/arm/libgodot_android.so
#10 0x0029d61c /data/app/org.godotengine.androidtest-1/lib/arm/libgodot_android.so
#11 0x0160bfe4 /data/app/org.godotengine.androidtest-1/lib/arm/libgodot_android.so
#12 0x016b6dcc /data/app/org.godotengine.androidtest-1/lib/arm/libgodot_android.so
#13 0x002fa6ec /data/app/org.godotengine.androidtest-1/lib/arm/libgodot_android.so
#14 0x002c1118 /data/app/org.godotengine.androidtest-1/lib/arm/libgodot_android.so
#15 0x002c1158 /data/app/org.godotengine.androidtest-1/lib/arm/libgodot_android.so
#16 0x007cacdc /data/app/org.godotengine.androidtest-1/lib/arm/libgodot_android.so
#17 0x00bbc8dc /data/app/org.godotengine.androidtest-1/lib/arm/libgodot_android.so
#18 0x01609014 /data/app/org.godotengine.androidtest-1/lib/arm/libgodot_android.so
#19 0x007cc53c /data/app/org.godotengine.androidtest-1/lib/arm/libgodot_android.so
#20 0x007cc4f4 /data/app/org.godotengine.androidtest-1/lib/arm/libgodot_android.so
#21 0x007d19c4 /data/app/org.godotengine.androidtest-1/lib/arm/libgodot_android.so
#22 0x007fb958 /data/app/org.godotengine.androidtest-1/lib/arm/libgodot_android.so
#23 0x0008f318 /data/app/org.godotengine.androidtest-1/lib/arm/libgodot_android.so (Java_org_godotengine_godot_GodotLib_step+96)
#24 0x0009b82d /data/dalvik-cache/arm/data@app@org.godotengine.androidtest-1@base.apk@classes.dex
Crash dump is completed

Any clue why it is crashing? I have looked at the Nuitrack examples and there is nothing different!
Thanks!

I am using the Orbec Persee.

Your .apk file contains a copy of some Nuitrack libraries (/data/app/org.godotengine.androidtest-1/lib/arm/libnuitrack.so). As an example, check out the nuitrack_gl_sample from the NuitrackSDK.

I have seemed to fix the issue. Nuitrack manager kept quiting, which was due to some threading issue on my end and updating to the new Nuitrack apk helped too. Thanks for the help!