You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While everything works fine with React Native below any version under 0.60 (and already reported at As already reported in f111fei/react-native-unity-view#142), on Android the application will crash upon activating the UnityView with RN > 0.60.
The final error happens because of a "libmain.so" could not be loaded:
E Unity : Failed to load 'libmain.so', the application will terminate.
D AndroidRuntime: Shutting down VM
E AndroidRuntime: FATAL EXCEPTION: main
E AndroidRuntime: Process: com.rnunitydemo, PID: 16887
E AndroidRuntime: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.rnunitydemo-bKGyotdcwjVnBxuR9zLE4Q==/base.apk"],nativeLibraryDirectories=[/data/app/com.rnunitydemo-bKGyotdcwjVnBxuR9zLE4Q==/lib/arm64, /data/app/com.rnunitydemo-bKGyotdcwjVnBxuR9zLE4Q==/base.apk!/lib/arm64-v8a, /system/lib64, /product/lib64]]] couldn't find "libmain.so"
According to a crash-report in the official Unity-Forum, we took care to use the same settings in both build.gradle for ndk-abiFilter:
While everything works fine with React Native below any version under 0.60 (and already reported at As already reported in f111fei/react-native-unity-view#142), on Android the application will crash upon activating the UnityView with RN > 0.60.
The final error happens because of a "libmain.so" could not be loaded:
According to a crash-report in the official Unity-Forum, we took care to use the same settings in both
build.gradle
for ndk-abiFilter:but it won't fix the issue. There is a big chance that the issues f111fei/react-native-unity-view#120 and f111fei/react-native-unity-view#129 might be related to this one.
Anybody found a proper solution for this?
The text was updated successfully, but these errors were encountered: