Add The Below Comments in Build - Gradle (Module App)
Add The Below Comments in Build - Gradle (Module App)
compile 'com.github.barteksc:android-pdf-viewer:3.0.0-beta.5'
2. activity.main.xml
<com.github.barteksc.pdfviewer.PDFView
android:id="@+id/pdfView"
android:layout_width="match_parent"
android:layout_height="400dp"/>
<user-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
implementation 'com.github.barteksc:android-pdf-viewer:2.8.2'
// <user-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>