Experiencing soLoader issues with Meta Spatial SDK v0.10.0 update
Hello,
I am trying to update my apps from Meta Spatial SDK from v0.9.2 to v0.10.0 and when deploying and running it on the Quest 3 headset, the application will crash and exit as soon as VrActivity runs onCreate.
I am observing the following error on logcat:
Abort message: 'JNI DETECTED ERROR IN APPLICATION: JNI NewGlobalRef called with pending exception java.lang.ClassNotFoundException: Didn't find class "com.facebook.soloader.MergedSoMapping$Invoke_JNI_OnLoad" on path: DexPathList[[zip file "/data/app/REDACTED_MY_APP/base.apk"],nativeLibraryDirectories=[/data/app/REDACTED_MY_APP/lib/arm64, /data/app/REDACTED_MY_APP/base.apk!/lib/arm64-v8a, /apex/com.meta.xr/priv-app/VrDriver/VrDriver.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64]]
The changes I did are minimal (version update on libs.versions.toml and XML component definitions and removing deprecated APIs). I tested also compiling several of the updated examples from the Meta-Spatial-SDK-Samples (such as MrukSample) and had the same behaviour: apps compile, deploy, open but crash as soon as entering in VR.
Is anyone else having the same issue or is there anyone that was able to update successfully and run apps using the Meta Spatial SDK v0.10.0?
Happy to provide further details if needed.
Thanks in advance.
It seems the problem was identified and updated as it can be seen in the Spatial SDK 10.0.1 release notes.
Thanks