-
Type: Bug
-
Resolution: Duplicate
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
<!---
Questions: If you have questions about how to use Realm, ask on
StackOverflow.
We monitor the realm tag.
Feature Request: Just fill in the first two sections below.
Bugs: To help you as fast as possible with an issue please describe your issue
and the steps you have taken to reproduce it in as many details as possible.
-->
Goal
To find a solution for ABI related problems
Expected Results
To run all split versions of app successfully
Actual Results
Fatal Exception: java.lang.RuntimeException: Unable to create application my.app.AppMain: com.b.a.b: lib/armeabi/librealm-jni.so at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4715) at android.app.ActivityThread.-wrap1(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1405)
Caused by com.b.a.b: lib/armeabi/librealm-jni.so at com.b.a.a.a(ApkLibraryInstaller.java:85) at com.b.a.d.a(ReLinkerInstance.java:180) at com.b.a.d.a(ReLinkerInstance.java:136) at com.b.a.c.a(ReLinker.java:1070) at io.realm.internal.m.a(RealmCore.java:60) at io.realm.v.a(Realm.java:258) at my.app.AppMain.onCreate(AppMain.java:256) at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1013) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4712) at android.app.ActivityThread.-wrap1(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1405)
Version of Realm and tooling
Realm version(s): 5.1.0
Android Studio version: 3.2 canary 15
Which Android version and device: Nexus 5X tries to load x86, but most reported devices try armeabi
Many different devices are affected
App is not using other so files than Realm.
From the Google Play dashboard I can see that no armeabi version is generated, only the 5 that Realm uses.
Edit: removed the x86 from the stacktrace, that was confusing