You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An application using the library crashes on an x64 emulator with the following error:
java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_Unwind_GetTextRelBase" referenced by "/data/app/.../base.apk!/lib/x86_64/libhftokenizer.so"...
On examining the libhftokenizer.so carefully (with ldd), we notice the following dependency:
Converting a static library may result in the application not loading the jniLibs/<arch>/libhftokenizer.a as Android does not package the static libraries in the APK. A possible workaround could be downloading the static libraries from a remote source or copying them to the local file-system from the assets folder.
An application using the library crashes on an x64 emulator with the following error:
On examining the
libhftokenizer.so
carefully (withldd
), we notice the following dependency:libgcc_s.so
which is a shared runtime library for GCC. (see this answer on SO)libgcc_s.so
as a dependency OR packaginglibhftokenizer
as a static library should solve the issueReferences:
The text was updated successfully, but these errors were encountered: