question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

UnsatisfiedLinkError: No implementation found for long io.realm.internal.OsSharedRealm.nativeGetFinalizerPtr()

See original GitHub issue

We are seing a crash in Crashlytics on Pixel 2 and Pixel 2 XL devices with Android P, that happens when Realm.init(Context) is called. I’ve tried to reproduce on my Pixel 2 with the beta installed, but no luck.

The stack trace from crashlytics is as follows:

Fatal Exception: java.lang.UnsatisfiedLinkError: No implementation found for long io.realm.internal.OsSharedRealm.nativeGetFinalizerPtr() (tried Java_io_realm_internal_OsSharedRealm_nativeGetFinalizerPtr and Java_io_realm_internal_OsSharedRealm_nativeGetFinalizerPtr__)
       at io.realm.internal.OsSharedRealm.nativeGetFinalizerPtr(Unknown Source)
       at io.realm.internal.OsSharedRealm.(Unknown Source:154)
       at io.realm.internal.OsSharedRealm.initialize(Unknown Source:258)
       at io.realm.Realm.init(Unknown Source:255)
       ...
       at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1154)
       at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5865)
       at android.app.ActivityThread.access$1000(ActivityThread.java:198)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1637)
       at android.os.Handler.dispatchMessage(Handler.java:106)
       at android.os.Looper.loop(Looper.java:164)
       at android.app.ActivityThread.main(ActivityThread.java:6649)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:826)

Version of Realm and tooling

Realm version(s): 4.3.3

Realm sync feature enabled: no

Which Android version and device: P

Devices are not rooted.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
serj-lotutovicicommented, Aug 1, 2018

I’ll try to create one today.

0reactions
cmelchiorcommented, Aug 27, 2018

I’ll assume you found the bug outside Realm and close this issue. If not, feel free to reopen.

Read more comments on GitHub >

github_iconTop Results From Across the Web

java - No implementation found for int io.realm.internal ...
java.lang.UnsatisfiedLinkError: No implementation found for int io.realm.internal.OsSharedRealm.nativeGetRealmPrivileges(long)(tried ...
Read more >
Missing native libs after update an external dependency with ...
When I'm analyzing my app's .apk there is no lib folder with the native libs ... UnsatisfiedLinkError: No implementation found for java.lang.
Read more >
Android Ndk: "No Implementation Found For Native" - ADocLib
At times, it is necessary to use native (non-Java) codes (e.g., C/C++) to The program will throw a UnsatisfiedLinkError if the library cannot...
Read more >
library loaded successfully but No implementation found
I tried to uninstall ImageTargets by Terminal Emulator by that command but there was just "wating for device" message. so I just deleted...
Read more >
No implementation found for long org.opencv.core.Mat.n_Mat ...
UnsatisfiedLinkError : No implementation found for long org.opencv.core.Mat.n_Mat(). When we implementing OpenCV to Android Camera Project, the app crashes ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found