F-Droid build failure


(Simon) #1

Before asking the F-Droid guys I wanted to check here if anyone understands the cause for the following error and if it is actionable on our side or not:

All builds finished
:app:preBuild UP-TO-DATE
:app:preReleaseBuild
Download https://jcenter.bintray.com/com/android/support/design/27.0.2/design-27.0.2.pom
Download https://jcenter.bintray.com/com/google/zxing/android-integration/3.3.0/android-integration-3.3.0.pom
[...]
Download https://jcenter.bintray.com/com/android/support/support-compat/27.0.2/support-compat-27.0.2.aar
Download https://jcenter.bintray.com/com/android/support/support-media-compat/27.0.2/support-media-compat-27.0.2.aar
:app:preReleaseBuild FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all files for configuration ':app:releaseCompileClasspath'.
> 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

(Audrius Butkevicius) #2

Seems that version is only available in google’s maven repos. We’ll probably have to cut a new tag and make a new release for fdroid to pick it up. Yet I am surprised we ourselves managed to build ok.