Page MenuHomeGitPull.it

Update Gradle to fix Libre BusTO builds
Closed, ResolvedPublic6 Points

Description

From B124: R4:5795ac81c00f: Migrate to androidX

Minimum supported Gradle version is 4.6. Current version is 4.4.1. If using the gradle wrapper, try editing the distributionUrl in /home/phabricator-android-builder/.gradle/daemon/4.4.1/gradle/wrapper/gradle-wrapper.properties to gradle-4.6-all.zip

Event Timeline

valerio.bozzolan created this task.
valerio.bozzolan added a subscriber: fabio.mazza.

Reported by @fabio.mazza.

@fabio.mazza:

I followed your tips using the F-Droid gradlew but now:

FAILURE: Build failed with an exception.

  • What went wrong:

Could not determine java version from '11.0.8'.

  • 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.

https://gitpull.it/harbormaster/log/view/536/

Do you have some time to suggest some tries? asd

Now:

FAILURE: Build failed with an exception.

* What went wrong:
Value '/home/phabricator-android-builder/android-studio/jre' given for org.gradle.java.home Gradle property is invalid (Java home supplied is invalid)

* 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

From:

https://gitpull.it/harbormaster/build/175/

Some progresses reading this:

https://wiki.debian.org/AndroidTools/IntroBuildingApps

Now:

A problem occurred configuring root project 'libre-busto'.
> Failed to install the following SDK components:
      build-tools;29.0.3 Android SDK Build-Tools 29.0.3
      platforms;android-28 Android SDK Platform 28
  The SDK directory is not writable (/usr/lib/android-sdk
valerio.bozzolan set the point value for this task to 6.Nov 6 2020, 11:27

@fabio.mazza sent me his SDK using netcat at 20Mib/s and now everything works as expected I think. asd

asd