Issues with package dependencies
What react-native version are you using?
React-native 0.62.0
What react-native-pdf version are you using?
react-native-pdf version 6.2.1
What platform does your issue occur on? (android/ios/both)
Android
Steps to reproduce the issue or to explain in which case you get the issue
Add the latest version of the package, then on terminal run
react-native run-android
Interesting logs
When trying to build, here's the log
`` FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:processReleaseResources'.
> Could not resolve all task dependencies for configuration ':app:releaseRuntimeClasspath'.
> Could not find com.github.TalbotGooday:AndroidPdfViewer:3.1.0-beta.3. ``
The package seems to be looking for a dependency that does not exist (latest version of AndroidPdfViewer is 3.1.0-beta.1)

Here's the AndroidPDFViewer version release: https://github.com/barteksc/AndroidPdfViewer/releases
@Spyro119 Facing the same issue not able to build android app did u get a way to fix it ?
This is the error log I got while I tried to build the android project.
Could not find com.github.TalbotGooday:AndroidPdfViewer:3.1.0-beta.3.
Required by:
project :app > project :react-native-pdf
@srajesh636 I downgraded to the previous version and everything works. I just figured I'd open an issue to let the dev's know about it, so they can solve it for the next versions. I'm using [email protected] instead :P
@srajesh636 Can you add following and try again
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
@srajesh636 Can you add following and try again
allprojects { repositories { ... maven { url 'https://jitpack.io' } } }
work for me, thx
Worked for me as well, thanks :+1:
Thanks 👍
worked for me also thanks
https://github.com/wonday/react-native-pdf/issues/508#issuecomment-705244602
Works fine, maybe include that in Readme?
Getting this error and maven { url 'https://jitpack.io' } is already added.
Getting this error and maven { url 'https://jitpack.io' } is already added.
Thank you my friend
@mayankyadav-zepto please provide the content of gradel file or the error log.
hi, i got the same error when trying to build the apk , i am using expo eas right now, how to solve the issue in expo eas builds.