Closed sarthak-synclovis closed 2 years ago
Same error occured
@Rahul-Hooda do you know why we are facing such type of errors?
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:processStagingDebugResources'.
> Could not resolve all task dependencies for configuration ':app:stagingDebugRuntimeClasspath'.
> Could not resolve in.payu:payu-crash-logger:[1.0.4,1.1.0).
Required by:
project :app > in.payu:payu-checkout-pro:1.7.6
project :app > in.payu:payu-checkout-pro:1.7.6 > in.payu:payu-sdk:5.3.7
> Failed to list versions for in.payu:payu-crash-logger.
> Unable to load Maven meta-data from https://google.bintray.com/exoplayer/in/payu/payu-crash-logger/maven-metadata.xml.
> Could not get resource 'https://google.bintray.com/exoplayer/in/payu/payu-crash-logger/maven-metadata.xml'.
> Could not GET 'https://google.bintray.com/exoplayer/in/payu/payu-crash-logger/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 10s
Exception: Gradle task assembleStagingDebug failed with exit code 1
Exited (sigterm)
Check in your project if you use anywhere :-
maven { url "https://phonepe.bintray.com/PhonePeIntentSDK" }
Comment it and rebuild your project.
Worked for me
Getting this error while building the project after integrating "payu-non-seam-less-react"
Could not GET 'https://phonepe.bintray.com/PhonePeIntentSDK/com/facebook/react/react-native/maven-metadata.xml'. Received status code 502 from server: Bad Gateway Disable Gradle 'offline mode' and sync project
Already added :-
Versions :-
Quick help would be appreciated