flutter_pdfview icon indicating copy to clipboard operation
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

Open ZXERSTON opened this issue 2 years ago • 4 comments

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.

ZXERSTON avatar Jun 04 '22 00:06 ZXERSTON

Facing the same issue.

purnima-poo avatar Jun 06 '22 04:06 purnima-poo

me too

RmdhnRio avatar Jun 08 '22 04:06 RmdhnRio

same issue, hope for solving

Joyker avatar Jun 10 '22 19:06 Joyker

Adding jcenter() to android\build.gradle worked for me:

allprojects {
    repositories {
        google()
        mavenCentral()
        jcenter()
    }
}

danarteaga avatar Jun 28 '22 13:06 danarteaga