-
-
Notifications
You must be signed in to change notification settings - Fork 478
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
Unable to load native library for native activity on Android 5.1 #1644
Comments
Transferring to It used to be the case that naming the Rust library Can you test out https://github.com/MarijnS95/glutin/compare/android-app-lib-name just in case (replace the command with Footnotes |
I followed the readme exactly, with the min_sdk_version set one lower for 5.1. I renamed it to android2 the same way as your changes, but it didn't do the trick.
|
closing since it's an ndk issue and not glutin. |
Yeah, fine to close this as it doesn't seem to be caused by the If anyone is interested in debugging this they should see if C++ |
The Android 5.1 device that I need to support fails to load a minimal example (feature "android-native-activity", no default), whatever I try, but works on other devices like 8.1. I used cargo apk.
It's not able to load libandroid.so
The only hint are warnings about unused DT entries, but I don't think that's the cause.
Any ideas on what step I could take?
This was based on https://github.com/rust-windowing/glutin with this added to glutin_examples/Cargo.toml:
Then:
Which causes the issue; when I strip it to the minimum, the issue remains.
The text was updated successfully, but these errors were encountered: