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

Fix native lib crash #81

Merged
merged 1 commit into from
Apr 9, 2024
Merged

Fix native lib crash #81

merged 1 commit into from
Apr 9, 2024

Conversation

valentunn
Copy link
Member

After #78 certain devices starts to crash with

java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "dl_iterate_phdr" referenced by "/data/app/~~O7xZcBb6BHAK6IbkBUz5lQ==/io.novasama.polkadotapp-UcKdIUU05U6-9-Ae_JZbjw==/base.apk!/lib/arm64-v8a/libsr25519java.so"

Upon investigation, it turned out that PR changed rust compile mode to release to optimize so file size. After rewerting this change, the crash stopped happening for me. So reverting release mode for now untill futher investigation

@valentunn valentunn merged commit 45e1de2 into develop Apr 9, 2024
1 check passed
@valentunn valentunn deleted the fix/native_lib_crash branch April 9, 2024 15:43
valentunn added a commit that referenced this pull request Apr 9, 2024
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

Successfully merging this pull request may close these issues.

1 participant