Open shubham0204 opened 3 months ago
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: