Simply go to this Link "https://central.sonatype.com/artifact/com.github.mhiew/android-pdf-viewer/versions" and download .aar file from here and paste in libs folder. then add this in biuld.properties files "android.enableJetifier=true" after that you just simply add this library "implementation("com.github.barteksc:pdfium-android:1.9.0") don't forget to add this line in proguardrules" sync and use the library.