Skip to content

MissingLibraryException on user's device, happen quite alot #88

@sonphan12

Description

@sonphan12

Could not find 'libvrender-jni.so'. Looked for: [x86, armeabi-v7a, armeabi], but only found: [].
com.getkeepsafe.relinker.ApkLibraryInstaller.installLibrary (ApkLibraryInstaller.java:173)
com.getkeepsafe.relinker.ReLinkerInstance.loadLibraryInternal (ReLinkerInstance.java:180)
com.getkeepsafe.relinker.ReLinkerInstance.loadLibrary (ReLinkerInstance.java:136)
com.getkeepsafe.relinker.ReLinker.loadLibrary (ReLinker.java:70)
com.getkeepsafe.relinker.ReLinker.loadLibrary (ReLinker.java:51)

On my test device, it doesn't crash, even when I modify my code to force loading lib from the APK. The above crash log is what I received in my Crashlytics system, after only one night it has occurred more than 500 times. This is so unusual.

One small note is in my project, I have separated code into modules.
--- app-module
+--- native-module

Whereas the native module contains C++ code and will be built by cmake. Also ReLinker.loadLibrary will be called inside native-module with appContext passed from app-module. I don't know if this is the cause of my problem.

It happens mostly on Android 7, but other versions as well. ReLinker version 1.4.3
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions