-
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
Realm crashed in cpu arm64-v8a #5651
Comments
Have you considered excluding the |
I see you have a number of other native libraries. Most likely some of these do not come in 64 bit variants. Android has a hard time with libraries that do not support the same set of architectures. So either you need to add the missing 64 bit variants for your other dependencies or alternatively remove the 64 bit Realm binaries, but note that ARM is decprecated on Android and that the 64 bit variants have better performance and less battery drain, so using those if possible would be preferable. |
And later Google Play will only allow native libraries that provide both 32bit and 64bit |
Crash Info
The situation hapenned in consumer's phone which is arm64-v8a. Now I exclude mips x86 x86_64 and armeabi's realm-jin.so files ,include armeabi-v7a and arm64-v8a.
Building and running my app is nothing abnormal. Thanks for suggestion |
The above looks fine. I assume that solved it. If not, feel free to reopen. |
Goal
Expected Results
Actual Results
Steps & Code to Reproduce
Because the there is no so in realm'armeabi . The program builded failed with
My solution is that copying so file from realm/3.5.0/jni/armeabi-v7a/librealm-jni.so to my program ' jniLibs/armeabi/
The result is app crashed in cpu arm64-v8a and some cpu armeabi-v7a.
I don't know how to solve this problem.
I would send the apk to help@realm.io
Thanks.
Version of Realm and tooling
Realm version(s): 3.5.0
Realm sync feature enabled: yes
Android Studio version: 3.0.1
Which Android version and device: android version 4.4-7.0
The text was updated successfully, but these errors were encountered: