dataBinder and Realm crash! java.lang.UnsatisfiedLinkError: dalvik.system.PathClass

195 views
Skip to first unread message

kami...@gmail.com

unread,
Oct 14, 2015, 9:28:16 AM10/14/15
to Realm Java
cyanogenmod 5.1.1 +  'com.android.databinding:dataBinder:1.0-rc4' + compile 'io.realm:realm-android:0.83.1-SNAPSHOT'

with
com.android.databinding:dataBinder:1.0-rc2 works fine

E/AndroidRuntime: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/euxxxx-1/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]] couldn't find "librealm-jni.so"
E/AndroidRuntime:     at java.lang.Runtime.loadLibrary(Runtime.java:366)
E/AndroidRuntime:     at java.lang.System.loadLibrary(System.java:988)
E/AndroidRuntime:     at io.realm.internal.RealmCore.loadLibrary(RealmCore.java:117)
E/AndroidRuntime:     at io.realm.internal.SharedGroup.<clinit>(SharedGroup.java:43)
E/AndroidRuntime:     at io.realm.internal.SharedGroupManager.<init>(SharedGroupManager.java:45)
E/AndroidRuntime:     at io.realm.BaseRealm.<init>(BaseRealm.java:87)

E/AndroidRuntime:     at io.realm.Realm.<init>(Realm.java:151)

Christian Melchior

unread,
Oct 15, 2015, 9:22:25 AM10/15/15
to kami...@gmail.com, realm...@googlegroups.com
Hi

It is a known bug. It happens because that version of the databinding library uses the latest build tools which has a bug. There is an discussion here: https://github.com/realm/realm-java/issues/1421

--
Christian Melchior
Senior Android Developer


--
You received this message because you are subscribed to the Google Groups "Realm Java" group.
To unsubscribe from this group and stop receiving emails from it, send an email to realm-java+...@googlegroups.com.
To post to this group, send email to realm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/realm-java/6aa483f7-d8d5-436e-ad42-b8960ac21ce6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



{#HS:130309169-2050#}
Reply all
Reply to author
Forward
0 new messages