react-native-pdf icon indicating copy to clipboard operation
react-native-pdf copied to clipboard

Cannot build: AndroidPdfViewer 502 Bad Gateway

Open Epick362 opened this issue 4 years ago • 0 comments

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

  1. Run npx react-native run-android
  2. 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.

Epick362 avatar Dec 21 '21 13:12 Epick362