01-12-2020, 10:15 AM
Sorry i opened a new post, the similar problem here: http://obi.virtualmethodstudio.com/forum...-2187.html
We have the problem that the 64bits libOni.so was loaded failed because UnsatisfiedLinkError, the error print as below:
I have searched a lot and seems lot of talks about ndk mismatches, so i looked into the libOni.so as the Post(https://github.com/google/oboe/issues/966) indicates, the _Unwind_Resume was not found just as I assumed. I tested with Unity2019.4.8f1, and it works on most 'runtime' and only fails for few(32bits can be loaded while 64bits can't).
As far as I know, the Unity 2019 has upgrade its ndk to r19(https://docs.unity3d.com/Manual/android-sdksetup.html), so can you please compile the .so with r19 and send me a test libOni.so to see if we can fix this issue, it will helps a lot, thank you!
We have the problem that the 64bits libOni.so was loaded failed because UnsatisfiedLinkError, the error print as below:
Code:
Unable to load library '/data/user/0/com.ss.android.ugc.aweme/files/_ucfiles/_uclib/local/tt9a4aecf7057074ae/libOni.so', native render plugin support disabled: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_Unwind_Resume" referenced by "/data/data/com.ss.android.ugc.aweme/files/_ucfiles/_uclib/local/tt9a4aecf7057074ae/libOni.so"...
I have searched a lot and seems lot of talks about ndk mismatches, so i looked into the libOni.so as the Post(https://github.com/google/oboe/issues/966) indicates, the _Unwind_Resume was not found just as I assumed. I tested with Unity2019.4.8f1, and it works on most 'runtime' and only fails for few(32bits can be loaded while 64bits can't).
As far as I know, the Unity 2019 has upgrade its ndk to r19(https://docs.unity3d.com/Manual/android-sdksetup.html), so can you please compile the .so with r19 and send me a test libOni.so to see if we can fix this issue, it will helps a lot, thank you!