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

[Android] error on start up "librnskia.so" not found #1963

Open
nica0012 opened this issue Nov 7, 2023 · 6 comments
Open

[Android] error on start up "librnskia.so" not found #1963

nica0012 opened this issue Nov 7, 2023 · 6 comments
Labels
bug Something isn't working

Comments

@nica0012
Copy link

nica0012 commented Nov 7, 2023

Description

Everything is fine on IOS, but on android app launch I receive the following error

ERROR Error: Exception in HostFunction: java.lang.UnsatisfiedLinkError: dlopen failed: library "librnskia.so" not found, js engine: hermes

I have tried using different JDK / NDks, different versions of RNSKIA, but I cant seem to get by this.

Am I missing something?

RN Version: 0.71.14

Version

^0.1.216

Steps to reproduce

  • Install latest RN Skia
  • Build to Android Device (A14 // Android v13)
  • Error (Cant run app)

Snack, code example, screenshot, or link to a repository

n/a

@nica0012 nica0012 added the bug Something isn't working label Nov 7, 2023
@wcandillon
Copy link
Collaborator

let us know if you have a small repository that would help us reproduce the issue.

@nica0012
Copy link
Author

nica0012 commented Nov 14, 2023

@wcandillon my project is quite large it might be difficult to replicate. I updated to the latest (0.1.218) and the issue still persists. I can confirm it's working again as expected on IOS.

Here is what the android error looks like, maybe this can help?

image

@nica0012 nica0012 changed the title Android error on start up "librnskia.so" not found [Android] error on start up "librnskia.so" not found Nov 15, 2023
@wcandillon
Copy link
Collaborator

is the solution pointed out in the stackoverflow question a correct one? (folder nesting too deep on Windows?)

@nica0012
Copy link
Author

@wcandillon unfortunately not, my project is one folder deep from the root on MacOS

@wcandillon
Copy link
Collaborator

is the file there or not? where is it looking for the library file? Do you have a small repo you could share where we can reproduce the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants