paulocoutinhox / pdfium-lib

PDFium - Project to compile PDFium library to multiple platforms.

Home Page:https://pdfviewer.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cannot launch android application whith libirary

MohamedAshraf9 opened this issue · comments

I have error : dlopen failed: library libabsl.cr.so not found when launch app with android studio

Hi,

Probably you will need load all libraries inside lib folder:

image

Like here:
https://stackoverflow.com/questions/8828559/loading-3rd-party-shared-libraries-from-an-android-native-activity

Use the correct order, since pdfium need be the last library to be loaded.

This is what I did and the error is still there

Hi,

I made a project showing it working:
https://www.dropbox.com/s/s7u1tc35v74eil5/TestNative.zip?dl=1

Thanks.

how it works with CMakeLists and c++ ?
it didn't work with it

Yes, it work, but you need study.

I made a project with cmake to you understand:
https://www.dropbox.com/s/xr1cfijhuadbxu8/TestNativeCmake.zip?dl=1

thank you very much ,it works with me ,but after render pdf, app appears pdf and then crash and show me this error :
A/libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xfba3 in tid 5578 (PDF renderer), pid 5551

Nice!

You need share your source code, because it is a generic error message.

If you have a project, put it here zipped.

Feel free to support the project with donations on sponsor project.

Did you solved your problem? Can i close?

I'm really sorry for the delay,
Yes I solved it You can close