Could not GET '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
FAILURE: Build failed with an exception.
- What went wrong: Could not determine the dependencies of task ':react-native-view-pdf:compileDebugAidl'.
Could not resolve all task dependencies for configuration ':react-native-view-pdf:debugCompileClasspath'. Could not resolve com.github.barteksc:android-pdf-viewer:2.8.2. Required by: project :react-native-view-pdf > 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 GET '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://www.jitpack.io/com/github/barteksc/android-pdf-viewer/2.8.2/android-pdf-viewer-2.8.2.pom'. > Could not GET 'https://www.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
Thank you!
I also have the same problem
Hi! Any update on the given problem. I have the issue and after adding authtoken of jit getting 403 forbidden error although the packages I'm using are public.
> Could not resolve com.amitshekhar.android:android-networking:1.0.2.
> Could not get resource 'https://jitpack.io/com/amitshekhar/android/android-networking/1.0.2/android-networking-1.0.2.pom'.
> Could not HEAD 'https://jitpack.io/com/amitshekhar/android/android-networking/1.0.2/android-networking-1.0.2.pom'. Received status code 403 from server: Forbidden
After trying numerous solutions, this one finally worked for me. Link
After trying numerous solutions, this one finally worked for me. Link
Thanks this worked for me as well
Hi all,
That repository has is not hosted on JitPack but because GitHub returns 404 we assume it is private so you receive a 401.
g
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.