-
Notifications
You must be signed in to change notification settings - Fork 71
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
java.lang.UnsatisfiedLinkError: dlopen failed: library "librust.so" not found #127
Comments
I found a workaround by running |
@opfromthestart You have to specify the cargo {
// ...
targetDirectory = "../path/to/target/"
}
|
For what it's worth, we started seeing the same issue with Android Gradle Plugin 7.4.2+. AGP 7.4.0 worked fine without additional configuration. |
This workaround seemed to work for me #118 (comment) |
That still does not work. I updated the repo to reflect my changes |
|
I am trying to do a simple example at https://github.com/opfromthestart/openfunny.
No matter what I do, I always get this error when running the application. The .so files appear in both the rust/target and app/build/rustJniLibs directories, but it always gives this error. I am new to android development and have had no success for multiple hours.
The text was updated successfully, but these errors were encountered: