react-native-pdf
react-native-pdf copied to clipboard
Cannot build: AndroidPdfViewer 502 Bad Gateway
What react-native version are you using?
0.62.2
What react-native-pdf version are you using?
6.4.0
What platform does your issue occur on? (android/ios/both)
Android
- Run
npx react-native run-android - Build fails with this error
* What went wrong:
Could not determine the dependencies of task ':app:mergeDebugAssets'.
> Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
> Could not resolve com.github.TalbotGooday:AndroidPdfViewer:3.1.0-beta.3.
Required by:
project :app > project :react-native-pdf
> Could not resolve com.github.TalbotGooday:AndroidPdfViewer:3.1.0-beta.3.
> Could not get resource 'http://dl.bintray.com/lukaville/maven/com/github/TalbotGooday/AndroidPdfViewer/3.1.0-beta.3/AndroidPdfViewer-3.1.0-beta.3.pom'.
> Could not HEAD 'http://dl.bintray.com/lukaville/maven/com/github/TalbotGooday/AndroidPdfViewer/3.1.0-beta.3/AndroidPdfViewer-3.1.0-beta.3.pom'. Received status code 502 from server: Bad Gateway
As far as I can tell, bintray is shutting down.
Edit: Downgrading to 6.2.0 fixes the issue.