AndroidPdfViewer
AndroidPdfViewer copied to clipboard
code 401 from server: Unauthorized
Hi, im using ext.kotlin_version = '1.6.10', flutter 3.0.2 on macOS and getting this error when build apk: Execution failed for task ':app:mergeReleaseAssets'.
Could not resolve all files for configuration ':app:releaseRuntimeClasspath'. Could not resolve com.github.barteksc:android-pdf-viewer:3.2.0-beta.1. Required by: project :app > project :flutter_pdfview > Could not resolve com.github.barteksc:android-pdf-viewer:3.2.0-beta.1. > Could not get resource 'https://jitpack.io/com/github/barteksc/android-pdf-viewer/3.2.0-beta.1/android-pdf-viewer-3.2.0-beta.1.pom'. > Could not GET 'https://jitpack.io/com/github/barteksc/android-pdf-viewer/3.2.0-beta.1/android-pdf-viewer-3.2.0-beta.1.pom'. Received status code 401 from server: Unauthorized
receiving the same error
Same here. I'm receiving the same error
mine is working after changing the url to implementation 'com.github.DImuthuUpe:AndroidPdfViewer:2.8.1'
i think its because he changed his username and the project name you can also check this jitpack page of AndroidPdfViewer https://jitpack.io/#DImuthuUpe/AndroidPdfViewer
It worked, @tarkiedev1 ! Thank you
just add in your project
implementation 'com.github.DImuthuUpe:AndroidPdfViewer:3.1.0-beta.1'
com.github.DImuthuUpe:AndroidPdfViewer:2.8.1
Thank you for saving the day
Mine also solved using this:
implementation 'com.github.DImuthuUpe:AndroidPdfViewer:3.1.0-beta.1'
Success to resolve by adding following to build.gradle in root project
allprojects { repositories { google() mavenCentral() maven { url 'https://maven.aliyun.com/repository/public'} } }
After spending hours on this, finally it worked for me. Thanks @tarkiedev1 for saving the day.