Skip to content
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

Error while loading library on android #274

Closed
heot0198 opened this issue Jul 8, 2020 · 2 comments
Closed

Error while loading library on android #274

heot0198 opened this issue Jul 8, 2020 · 2 comments

Comments

@heot0198
Copy link

heot0198 commented Jul 8, 2020

The app works fine on an android emulator but crashes every time on the device

LOG:
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.yourorg.sample, PID: 11593
java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_Unwind_GetIP" referenced by "/data/app/com.yourorg.sample-I1bJqA_iGJ970nSzsBbQ8Q==/lib/arm64/libnode.so"...
at java.lang.Runtime.loadLibrary0(Runtime.java:1071)
at java.lang.Runtime.loadLibrary0(Runtime.java:1007)
at java.lang.System.loadLibrary(System.java:1667)
at com.yourorg.sample.MainActivity.loadLib(MainActivity.java:244)
at com.yourorg.sample.MainActivity.onCreate(MainActivity.java:42)
at android.app.Activity.performCreate(Activity.java:7893)
at android.app.Activity.performCreate(Activity.java:7880)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1307)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3279)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3443)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2040)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:224)
at android.app.ActivityThread.main(ActivityThread.java:7520)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
E/MQSEventManagerDelegate: failed to get MQSService.
I/Process: Sending signal. PID: 11593 SIG: 9
Application terminated.

@jaimecbernardo
Copy link
Member

Could you please fill the issue template?
Some reproduction code would be useful as well.

@heot0198
Copy link
Author

Hey there,
Issue resolved!
I was using the old version of the node binaries mentioned in the readme.
Once I update to the latest version everything works just fine! ✌️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants