Android build/installation error: Cannot download from bintray
See original GitHub issueAfter following the docs and installing the library I try to build and get the following error, seems bintray has been sunset:
Execution failed for task ':app:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
> Could not resolve com.squareup.okhttp3:okhttp:3.12.13.
Required by:
project :app > com.facebook.react:react-native:0.64.0
project :app > com.facebook.react:react-native:0.64.0 > com.squareup.okhttp3:okhttp-urlconnection:3.12.12
> Skipped due to earlier error
> Could not resolve app.notifee:core:+.
Required by:
project :app > project :notifee_react-native
> Failed to list versions for app.notifee:core.
> Unable to load Maven meta-data from https://jcenter.bintray.com/app/notifee/core/maven-metadata.xml.
> Could not get resource 'https://jcenter.bintray.com/app/notifee/core/maven-metadata.xml'.
> Could not GET 'https://jcenter.bintray.com/app/notifee/core/maven-metadata.xml'. Received status code 502 from server: Bad Gateway
> Could not resolve org.greenrobot:eventbus:3.2.0.
Required by:
project :app > project :notifee_react-native
> Skipped due to earlier error
> Could not resolve com.squareup.okhttp3:okhttp:3.12.13.
Required by:
project :app > project :notifee_react-native
> Skipped due to earlier error
Stack: @notifee/react-native: 4.0.1 react-native: 0.64
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Unable to download dependencies from jcenter.bintray.com
Gradle distro downloads just fine, and only failing with jcenter urls. ... went wrong: [17:13:07]: ▸ A problem occurred configuring root project 'android'....
Read more >Gradle sync failed - Stack Overflow
The problem that I was facing is that the android studio was not able to download Gradle. Such problems always occur when ando0rid...
Read more >Latest topics - Bitrise Discussions
Bitrise build installation error in iPhone ... Incorrect *aligned.apk download path on public url page ... Gradle fail to install jcenter dependencies.
Read more >Dependency from jcenter.bintray.com failed - Gradle Forums
When we are building android app using gradle, getting below error. Failed to list versions for com.android.support:support-v4.
Read more >Android download problem: failed to install/update
Updates to Google Play Store can cause problems when you install or update Android applications. The app download process gets stuck and...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@MrShakes you can, you need to update react-native though, it’s out of control of this module. Use react-native 0.65 or greater. 0.66.4 is current now - https://react-native-community.github.io/upgrade-helper/
All false positives from test fixtures and the like. jcenter is not in use. Notifee is jcenter-clean.
How to fix your project https://blog.gradle.org/jcenter-shutdown Some react-native specific information https://github.com/react-native-community/discussions-and-proposals/issues/331#issuecomment-1013339743
Proof it works, even as far back as react-native 0.61.2 (though that was a mess: metro-react-native-babel-preset has issues, and you have to use Xcode 12.4, and who knows what incompatibilities that has with android 12 / iOS15 etc…)
https://github.com/mikehardy/rnfbdemo/blob/b3079ef2d394bb229e9a97dc1062e6cc9787c434/notifee-demo.sh
This issue is closed from a notifee perspective. jcenter is not in this module. It is out of our control.