-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
App Bundle not able to find .so file #6237
Comments
Hi @wbervoets do you have the exact stack trace? It seems that some parts of it was cut out from what you posted. Especially the exact error message? Also have you access to the APK and are able to verify that the |
The full stacktrace: Fatal Exception: java.lang.RuntimeException: Unable to create application com.thanksys.x.user.joyn.XApplication: com.b.a.b: librealm-jni.so Caused by com.b.a.b: librealm-jni.so It also happens on a Vivo X9 according to the crashlytics logs. Downloading the generated zip for those devices, it contains a config.arm64_v8a.apk which contains lib/arm64-v8a/librealm-jni.so. |
I have the same problem |
I do also have the same problem. Are there any solution to this ? I am also getting a crash on green robot event bus.. Fatal Exception: java.lang.RuntimeException |
@sumonlbbd it sounds like you are missing the Proguard rules for EventBus
|
@Zhuinden - I have already added all this stuffs in my Proguard file. This are all present. |
Then you are registering an Activity to the Bus that has no I think I just used to catch this exception because "who cares", both on register and unregister. |
@Zhuinden I have added that also. Have added @subscribe annotation at onEvent call .Are there any possible reasons for the same. |
Hey @cmelchior , |
The underlying root cause is probably #5977, so I'll fold this issue into that one. |
Goal
Realm.init(context) initializes the Realm and does not crash the app
Actual Results
A crash occured on Google Nexus 5X device.
Caused by com.b.a.b: librealm-jni.so
at com.getkeepsafe.relinker.ApkLibraryInstaller.sourceDirectories(Unknown Source)
at com.getkeepsafe.relinker.ReLinkerInstance.loadLibraryInternal(Unknown Source)
at com.getkeepsafe.relinker.ReLinkerInstance.loadLibrary(Unknown Source)
at com.getkeepsafe.relinker.ReLinker.loadLibrary(Unknown Source)
at com.getkeepsafe.relinker.ReLinker.loadLibrary(Unknown Source)
at io.realm.internal.RealmCore.loadLibrary(Unknown Source)
at io.realm.Realm.createExpectedSchemaInfo(Unknown Source)
Steps & Code to Reproduce
Version of Realm and tooling
Realm version(s): 5.7.0
Realm Sync feature enabled: No
Android Studio version: 3.2.0
Android Build Tools version: 28.0.2
Gradle version: 4.6
Which Android version and device(s): LG Nexus 5X Android v5.0.2 / v5.1.1 / v6.0.1
I assume it happens because of the Android App Bundle, becasuse we didn not have this crash in the previous release where we had one APK with everything included
The text was updated successfully, but these errors were encountered: