Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MissingLibraryException #7777

Open
yangyaoyao opened this issue Feb 24, 2023 · 1 comment
Open

MissingLibraryException #7777

yangyaoyao opened this issue Feb 24, 2023 · 1 comment

Comments

@yangyaoyao
Copy link

yangyaoyao commented Feb 24, 2023

API level: '29'
OS version: '10'
ABI list: 'arm64-v8a,armeabi-v7a,armeabi'
Manufacturer: 'samsung'
Brand: 'samsung'
Model: 'SM-G9600'
Build fingerprint: 'samsung/starqltezc/starqltechn:10/QP1A.190711.020/G9600ZCS9FVA4:user/release-keys'

initializeRealm in Application#attachBaseContext

System.err: com.getkeepsafe.relinker.MissingLibraryException: Could not find 'librealm-jni.so'. Looked for: [arm64-v8a, armeabi-v7a, armeabi], but only found: [].
System.err: at com.getkeepsafe.relinker.ApkLibraryInstaller.installLibrary(ApkLibraryInstaller.java:173)
System.err: at com.getkeepsafe.relinker.ReLinkerInstance.loadLibraryInternal(ReLinkerInstance.java:180)
System.err: at com.getkeepsafe.relinker.ReLinkerInstance.loadLibrary(ReLinkerInstance.java:136)
System.err: at com.getkeepsafe.relinker.ReLinker.loadLibrary(ReLinker.java:70)
System.err: at com.getkeepsafe.relinker.ReLinker.loadLibrary(ReLinker.java:57)
System.err: at io.realm.internal.RealmCore.loadLibrary(RealmCore.java:60)
System.err: at io.realm.Realm.initializeRealm(Realm.java:348)
System.err: at io.realm.Realm.init(Realm.java:263)

realm version

classpath "io.realm:realm-gradle-plugin:10.11.1"

@adaonder
Copy link

adaonder commented Mar 3, 2023

@yangyaoyao where did you write this Realm.init(context). in Application or Activity?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants