DImuthuUpe / AndroidPdfViewer

Android view for displaying PDFs rendered with PdfiumAndroid
Apache License 2.0
8.17k stars 1.91k forks source link

getting issue while using it #1124

Open 1902shubh opened 2 years ago

1902shubh commented 2 years ago

Caused by: org.gradle.internal.resource.transport.http.HttpErrorStatusCodeException: 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 at org.gradle.internal.resource.transport.http.HttpClientHelper.processResponse(HttpClientHelper.java:215) at org.gradle.internal.resource.transport.http.HttpClientHelper.performHead(HttpClientHelper.java:88) at org.gradle.internal.resource.transport.http.HttpResourceAccessor.getMetaData(HttpResourceAccessor.java:68) at org.gradle.internal.resource.transfer.DefaultExternalResourceConnector.getMetaData(DefaultExternalResourceConnector.java:66) at org.gradle.internal.resource.transfer.ProgressLoggingExternalResourceAccessor$MetadataOperation.call(ProgressLoggingExternalResourceAccessor.java:150) at org.gradle.internal.resource.transfer.ProgressLoggingExternalResourceAccessor$MetadataOperation.call(ProgressLoggingExternalResourceAccessor.java:138) Caused by: org.gradle.internal.resource.transport.http.HttpErrorStatusCodeException: 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

developersspot commented 1 year ago

Facing same issue. Looking for solution.

Liam6666 commented 1 year ago

Facing same issue. Looking for solution.

Please add the config 'gradlePluginPortal()' on your build.gradle or settings.gradle of project.

Good luck!

image