Could not find com.github.barteksc:android-pdf-viewer:3.2.0-beta.1.
What went wrong: Execution failed for task ':app:checkDebugAarMetadata'.
Could not resolve all files for configuration ':app:debugRuntimeClasspath'. Could not find com.github.barteksc:android-pdf-viewer:3.2.0-beta.1. Searched in the following locations: - https://dl.google.com/dl/android/maven2/com/github/barteksc/android-pdf-viewer/3.2.0-beta.1/android-pdf-viewer-3.2.0-beta.1.pom - https://repo.maven.apache.org/maven2/com/github/barteksc/android-pdf-viewer/3.2.0-beta.1/android-pdf-viewer-3.2.0-beta.1.pom - https://storage.googleapis.com/download.flutter.io/com/github/barteksc/android-pdf-viewer/3.2.0-beta.1/android-pdf-viewer-3.2.0-beta.1.pom Required by: project :app > project :flutter_pdfview
not able to download packages
when I click on the first link

Same issue here, any fix?
Same issue here to ? any solution for it ?
It worked for me after
updating compiledsdkversion 31
add android.enableR8=true in gradle.properties
changed
dependencies {
classpath 'com.android.tools.build:gradle:4.1.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
in build.gradle
Same issue here, any fix?
You should try this flutter package https://pub.dev/packages/uc_pdfview Everything same just you have to change PDFView to UCPDFview
And replace the import From import 'package:flutter_pdfview/flutter_pdfview.dart'; to this import 'package:uc_pdfview/uc_pdfview.dart';
facing this issue for a week. any solution ? i've tried @phanindravarma412 solution but it didn't work for me!
You should try this flutter package https://pub.dev/packages/uc_pdfview Everything same just you have to change PDFView to UCPDFview
And replace the import From import 'package:flutter_pdfview/flutter_pdfview.dart'; to this import 'package:uc_pdfview/uc_pdfview.dart';
I fixed it with the below steps.
https://youtu.be/aIZdwgrnbW4
I fixed it with the below steps.
https://youtu.be/aIZdwgrnbW4
Why bother with video link. Just tell people to downgrade to 1.1.0 . It is that simple
The Android library is in jcenter but this Flutter package uses mavenCentral https://github.com/barteksc/AndroidPdfViewer#installation
I fixed it with the below steps.
https://youtu.be/aIZdwgrnbW4
Didn't really did the trick for me
It is mentioned in pub.dev page that lib uses AndroidPdfViewer and there you can find information which says: "Library is available in jcenter repository, probably it'll be in Maven Central soon.". To fix this problem just add
allprojects {
repositories {
google()
mavenCentral()
jcenter() //add this
}
}
to your android/build.gradle file. Worked in my case.
It is mentioned in pub.dev page that lib uses AndroidPdfViewer and there you can find information which says: "Library is available in jcenter repository, probably it'll be in Maven Central soon.". To fix this problem just add
allprojects { repositories { google() mavenCentral() jcenter() //add this } }to your
android/build.gradlefile. Worked in my case.
I see, I worked out my solution by using another package.