Gradle cannot find dependency (android.arch.lifecycle:runtime:1.0.3) after cache clear (HTTP 404)

Hello,

I don’t know if that is the right place to ask, so feel free to point me to the correct website, if appropriate.

Recently, I got weird problems with my build that I wanted to solve by a cache clear. Sadly, I cannot build the project at all after the cache clear. To make the challange harder, I am using a mixed Qt and Java project developed using QtCreator. So I cannot really use Android Studio (it messed up my configuration the last time I tried).

I am rather new to Android, so I copied the configuration from an Android Studio test project over to the QtCreator build.gradle. The build.gradle is given here: buildscript { repositories { jcenter() google() } - Pastebin.com . In the gradle-wrapper.properties, I use “distributionUrl=https://services.gradle.org/distributions/gradle-4.4-bin.zip”.

I added the line about the maven repository as proposed here: GitHub - felHR85/UsbSerial: Usb serial controller for Android . Also, the project used to work without the line " implementation ‘android.arch.lifecycle:extensions:1.0.0’". I added that one to try to fix the error, but that did not help.

When building the project, I get the following error:

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not resolve all files for configuration ‘:debugCompileClasspath’.

Could not find runtime.aar (android.arch.lifecycle:runtime:1.0.3).
Searched in the following locations:
https://jcenter.bintray.com/android/arch/lifecycle/runtime/1.0.3/runtime-1.0.3.aar

This URI is indeed a 404. Is that a temporary error in the repos or is something wrong with my configuration?