You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to create a new flutter release and while running the command flutter build apk I get the following error:
`Execution failed for task ':pdf_viewer_plugin:generateReleaseRFile'.
Could not resolve all files for configuration ':pdf_viewer_plugin:releaseCompileClasspath'.
Failed to transform android-pdf-viewer-3.0.0-beta.4.aar (com.github.barteksc:android-pdf-viewer:3.0.0-beta.4) to match attributes {artifactType=android-symbol-with-package-name, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-api}.
> Could not find android-pdf-viewer-3.0.0-beta.4.aar (com.github.barteksc:android-pdf-viewer:3.0.0-beta.4).
Searched in the following locations: https://jcenter.bintray.com/com/github/barteksc/android-pdf-viewer/3.0.0-beta.4/android-pdf-viewer-3.0.0-beta.4.aar`
The text was updated successfully, but these errors were encountered:
Judging by DImuthuUpe/AndroidPdfViewer#1206, the owner and name of the native plugin have changed. It is necessary to change the dependencies in this package.
In build.gradle add to repositories
mavenCentral()
maven { url 'https://jitpack.io' }
And replace implementation('com.github.barteksc:android-pdf-viewer:3.0.0-beta.4')
with implementation ('com.github.DImuthuUpe:AndroidPdfViewer:3.1.0-beta.1')
I am trying to create a new flutter release and while running the command
flutter build apk
I get the following error:`Execution failed for task ':pdf_viewer_plugin:generateReleaseRFile'.
The text was updated successfully, but these errors were encountered: