Skip to content

Conversation

v-mas
Copy link

@v-mas v-mas commented Jan 8, 2025

pdfium dependency was already 16kb alligned, only needed to upgrade gradle plugin to 8.5.1+ and ndk to 28+ to correctly build local native code

gradle wrapper version was upgraded using android-studio build in project management options

@WiMank
Copy link

WiMank commented Jan 16, 2025

This code works on Android 15. I tested it.

@Manuel-FG
Copy link

Hi, any progress with this?

@marain87
Copy link

marain87 commented Jun 3, 2025

Thanks, @v-mas! Following your change, I've also implemented support for 16KB page sizes in my fork https://github.com/marain87/PdfiumAndroid

@opsenes
Copy link

opsenes commented Aug 15, 2025

@marain87 Would you consider yours to publish mavenCentral?

@espritm
Copy link

espritm commented Sep 25, 2025

v-mas has forked this repo to apply his/her changes.

The 16kb memory page size compatible .aar file for PdfiumAndroid is available here : https://github.com/v-mas/PdfiumAndroid/releases

@v-mas
Copy link
Author

v-mas commented Sep 25, 2025

Untill this will be available on maven I myself use

buildscript {
    subprojects {
        it.configurations.configureEach {
            it.resolutionStrategy.dependencySubstitution {
                substitute module("com.github.lion1988dev:PdfiumAndroid:1.9.4") using module("com.github.v-mas:PdfiumAndroid:1.9.5")
            }
        }
    }
    ...
}

in top-level build.gradle

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.

6 participants