JCenter service downtime affecting AppFlow Android builds

I am using AppFlow Linux - 2021.09 to build an .APK file, buit I suddently got the following errors.
it was always working.

  • What went wrong:
    Could not determine the dependencies of task ‘:app:lintVitalRelease’.

Could not resolve all artifacts for configuration ‘:app:debugRuntimeClasspath’.
Could not resolve com.android.support:support-v4:24.1.1+.
Required by:
project :app
Failed to list versions for com.android.support:support-v4.
Unable to load Maven meta-data from https://jcenter.bintray.com/com/android/support/support-v4/maven-metadata.xml.
Could not get resource ‘https://jcenter.bintray.com/com/android/support/support-v4/maven-metadata.xml’.
Could not GET ‘https://jcenter.bintray.com/com/android/support/support-v4/maven-metadata.xml’.
Read timed out

  • 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 2m 15s
Command failed with exit code 1: /builds/mikedai8/PCardReceiptUpload/platforms/android/gradlew cdvBuildRelease -b /builds/mikedai8/PCardReceiptUpload/platforms/android/build.gradle

1 Like

We seem to be running into the same issue. Build was successful yesterday, but as of about 2 hours ago, our build was failing with a very similar error:

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':app:lintVitalRelease'.
> Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'.
   > Could not determine artifacts for org.apache.cordova:framework:7.0.0: Skipped due to earlier error

* 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

JCenter, a 3rd party host of OSS Android packages, experienced some downtime today. Hence the error messages referencing JCenter files timing out when attempting to download.

JCenter is a dependency of Cordova, and since Capacitor includes a compatibility layer to support Cordova plugins, Capacitor is also affected. With the upcoming Capacitor v4, we’ll remove the JCenter dependency.

Please retry your builds as it looks like the JCenter team has fixed the issue. For additional questions please email support@ionic.io.