flutter_pdfview
flutter_pdfview copied to clipboard
Execution failed for task ':app:mergeDebugAssets'. > Could not resolve all files for configuration ':app:debugRuntimeClasspath'. > Could not find com.github.barteksc:android-pdf-viewer:3.2.0-beta.1
Hi guys, I am facing this issue after trying to run flutter build apk/ flutter run on android simulator.
> 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
I think it has smthg to do with the package.
Facing the same issue.
me too
same issue, hope for solving
Adding jcenter() to android\build.gradle worked for me:
allprojects {
repositories {
google()
mavenCentral()
jcenter()
}
}