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

Mono/C#: Fix Android AAB export failing to load native libs #57420

Merged
merged 1 commit into from
Jan 31, 2022

Conversation

neikeq
Copy link
Contributor

@neikeq neikeq commented Jan 29, 2022

By default, when installing from Android App Bundles the native libraries are not extracted. They are loaded directly from the APK.
See: https://stackoverflow.com/a/56551499

Passing only the file name to dlopen, without the location, makes it search the native library in all locations, including inside the apk.

Fixes #55638
Fixes #48458

By default, when installing from Android App Bundles the native
libraries are not extracted. They are loaded directly from the APK.
See: https://stackoverflow.com/a/56551499

Passing only the file name to dlopen, without the location, makes it
search the native library in all locations, including inside the apk.
@neikeq neikeq added this to the 3.5 milestone Jan 29, 2022
@neikeq neikeq requested a review from a team as a code owner January 29, 2022 21:02
@akien-mga akien-mga merged commit 0c6391a into godotengine:3.x Jan 31, 2022
@akien-mga
Copy link
Member

Thanks!

@akien-mga
Copy link
Member

Cherry-picked for 3.4.3.

@neikeq neikeq deleted the issue-55638 branch September 6, 2022 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants