Build getting failed with Unable to load Maven meta-data from https://jcenter.bintray.com/
See original GitHub issueDescription
Build getting failed with react-native-screens
package
Screenshots
* What went wrong:
Execution failed for task ':app:lintVitalRelease'.
> Could not resolve all artifacts for configuration ':react-native-screens:releaseRuntimeClasspath'.
> Could not resolve com.facebook.react:react-native:+.
Required by:
project :react-native-screens
> Failed to list versions for com.facebook.react:react-native.
> Unable to load Maven meta-data from https://jcenter.bintray.com/com/facebook/react/react-native/maven-metadata.xml.
> Could not get resource 'https://jcenter.bintray.com/com/facebook/react/react-native/maven-metadata.xml'.
> Could not GET 'https://jcenter.bintray.com/com/facebook/react/react-native/maven-metadata.xml'. Received status code 502 from server: Bad Gateway
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 4m 30s
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.9/userguide/command_line_interface.html#sec:command_line_warnings
95 actionable tasks: 95 executed
Steps To Reproduce
Expected behavior
Actual behavior
Reproduction
./gradlew clean && ./gradlew assembleRelese
Platform
- Android
Workflow
- Bare workflow
Package versions
"dependencies": {
"@react-navigation/bottom-tabs": "^6.0.9",
"@react-navigation/elements": "^1.2.1",
"@react-navigation/native": "^6.0.6",
"@react-navigation/native-stack": "^6.2.5",
"@reduxjs/toolkit": "^1.7.1",
"axios": "^0.24.0",
"react": "17.0.2",
"react-native": "0.66.3",
"react-native-gesture-handler": "^2.1.1",
"react-native-reanimated": "^2.3.1",
"react-native-safe-area-context": "^3.3.2",
"react-native-screens": "^3.10.1",
"react-native-status-bar-height": "^2.6.0",
"react-native-video": "^5.2.0",
"react-redux": "^7.2.6",
"redux": "^4.1.2",
"redux-logger": "^3.0.6",
"redux-saga": "^1.1.3",
"styled-components": "^5.3.3"
},
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:9 (1 by maintainers)
Top Results From Across the Web
FAILURE: Build failed with an exception.
Unable to load Maven meta-data from https://jcenter.bintray.com/org/webkit/android-jsc/maven-metadata.xml Issue in react native · Ask Question.
Read more >502 Bad Gateway: Unable to load Maven meta-data from ...
Description Getting such an error, while building the app in release mode: > Failed to list versions for com.facebook.react:react-native.
Read more >[Solved]-Unable to load Maven meta-data from https://jcenter ...
Go to node_modules/library-with-error/android/build.gradle · Change jcenter() to mavenCentral() · Run: npx patch-package library-with-error · Git add, commit and ...
Read more >Dependency from jcenter.bintray.com failed
When we are building android app using gradle, getting below error. ... 10-May-2022 09:50:30 > Unable to load Maven meta-data from ...
Read more >Android Build fails can't ger support-v4/maven-metadata.xml
Unable to load Maven meta-data from https://jcenter.bintray.com/com/android/support/support-v4/maven-metadata.xml. > Could not get resource ...
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
Thanks for submitting an issue!
Due to the second major
jcenter()
outage in a week we’ve decided to remove it fromreact-native-screens
.With this, we’ve released patch version
3.10.2
that removesjcenter()
👉 https://github.com/software-mansion/react-native-screens/releases/tag/3.10.2I thought they are going to keep a read only repo indefintely?