AndroidPdfViewer
AndroidPdfViewer copied to clipboard
401 error
Could not resolve all files for configuration ':app:debugRuntimeClasspath'. Could not resolve com.github.barteksc:android-pdf-viewer:2.8.2. Required by: project :app > Could not resolve com.github.barteksc:android-pdf-viewer:2.8.2. > Could not get resource 'https://jitpack.io/com/github/barteksc/android-pdf-viewer/2.8.2/android-pdf-viewer-2.8.2.pom'. > Could not HEAD 'https://jitpack.io/com/github/barteksc/android-pdf-viewer/2.8.2/android-pdf-viewer-2.8.2.pom'. Received status code 401 from server: Unauthorized > Could not resolve com.github.barteksc:android-pdf-viewer:2.8.2. > Could not get resource 'https://jitpack.io/com/github/barteksc/android-pdf-viewer/2.8.2/android-pdf-viewer-2.8.2.pom'. > Could not HEAD 'https://jitpack.io/com/github/barteksc/android-pdf-viewer/2.8.2/android-pdf-viewer-2.8.2.pom'. Received status code 401 from server: Unauthorized
Did you find the solution @anooshkhalid ??
which version of the library are you using?
by using this version and adding file provider it was resolved for me
implementation 'com.github.barteksc:android-pdf-viewer:3.2.0-beta.1'
@anooshkhalid for me it's working with com.github.mhiew:android-pdf-viewer:3.2.0-beta.1
@anooshkhalid did you remove the jcenter dependency? I had same error after I did it.
+1
+1