Closed AndrewGable closed 2 months ago
Example: https://github.com/Expensify/Mobile-Deploy/actions/runs/10361798303/job/28682826522
* What went wrong:
Could not determine the dependencies of task ':buildReleasePreBundle'.
> Could not resolve all task dependencies for configuration ':releaseRuntimeClasspath'.
> Could not resolve io.realm:realm-android:0.87.4.
Required by:
project :
> Could not resolve io.realm:realm-android:0.87.4.
> Could not get resource 'https://jcenter.bintray.com/io/realm/realm-android/0.87.4/realm-android-0.87.4.pom'.
> Could not GET 'https://jcenter.bintray.com/io/realm/realm-android/0.87.4/realm-android-0.87.4.pom'. Received status code 502 from server: Bad Gateway
> Could not resolve io.branch.sdk.android:library:2.19.3.
Required by:
project :
> Could not resolve io.branch.sdk.android:library:2.19.3.
> Could not get resource 'https://jcenter.bintray.com/io/branch/sdk/android/library/2.19.3/library-2.19.3.pom'.
> Could not GET 'https://jcenter.bintray.com/io/branch/sdk/android/library/2.19.3/library-2.19.3.pom'. Received status code 502 from server: Bad Gateway
> Could not resolve pl.charmas.android:android-reactive-location2:2.0.
Required by:
project :
> Could not resolve pl.charmas.android:android-reactive-location2:2.0.
> Could not get resource 'https://jcenter.bintray.com/pl/charmas/android/android-reactive-location2/2.0/android-reactive-location2-2.0.pom'.
> Could not GET 'https://jcenter.bintray.com/pl/charmas/android/android-reactive-location2/2.0/android-reactive-location2-2.0.pom'. Received status code 502 from server: Bad Gateway
Problem
We've seen Android HybridApp builds fail with a 502, this is because
jcenter
is being officially turned off August 15th. https://jfrog.com/blog/jcenter-sunset/Solution
We need to migrate to
mavenCentral
, however, we need to also upgrade a few dependencies to their latest versions since they did not back port all versions.