GithubHelp home page GithubHelp logo

benjinus / android-support-pdfium Goto Github PK

View Code? Open in Web Editor NEW
40.0 4.0 26.0 22.47 MB

PDFium SDK for Android Application

Java 10.48% CMake 0.45% C++ 29.54% C 59.24% Python 0.29%
pdfium android android-pdfviewer

android-support-pdfium's People

Contributors

benjinus avatar codacy-badger avatar jasolgar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

android-support-pdfium's Issues

Can you add the x86-64 bit .so files please?

Or can you please document how you built the .so files?
I see you are using a different set of files than barteksc/PdfiumAndroid and I am not sure where / how to get the 64bit version.

Apparently google play requires 64bit libraries to publish apps...

Thank you!

libpdfsdk_jni.so not found on Android 12

Installing an android 12 emulator version when opening a pdf it crashes with this exception.

 Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: library "libpdfsdk_jni.so" not found
        at java.lang.Runtime.loadLibrary0(Runtime.java:1077)
        at java.lang.Runtime.loadLibrary0(Runtime.java:998)
        at java.lang.System.loadLibrary(System.java:1656)
        at org.benjinus.pdfium.PdfiumSDK.<clinit>(PdfiumSDK.java:37)
        at com.test.app.utils.signature.pdfView.PDFView.<init>(PDFView.java:314)
        at java.lang.reflect.Constructor.newInstance0(Native Method)

Can you help me with your script to build PDFium?

I created an app called MJ PDF Reader that uses PdfiumAndroid. I forked the project to update it libs. However, I couldn't build Pdfium.

I found your project which has a script for that. After a simple change in the script from ninja -C out pdfsdk to ninja -C out fpdfsdk, everything works perfectly until the last step, it gives the following error:

ld.lld: error: unable to find library -latomic
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.

I tried to do everything I could think of, but nothing worked. Do you know how to solve this issue?

Search text crashes when blank space is suffix

Adding blank space as suffix of a query text causes pdfium to crash with message:
lib/arm64/libpdfsdk.so (_ZN17CPDF_TextPageFind8FindNextEv+280).

I will provide pdf example if needed. Thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.