Android build failing after "Weekly vm update w38"

Bitrise Build Issue Report template

Description of the issue

Without any changes to the android build contents, after the latest VM update, the build is failing to compile during lint step with a compilation error. Previous builds with the same exactly content now fail on this same step.

Task :myscript-certificate:bundleLibCompileToJarDebug
Task :[REDACTED]Math:javaPreCompilePhoneDebug
Task :[REDACTED]Math:prepareLintJar
Task :MyscriptReferenceImplementation:bundleLibCompileToJarDebug
Task :[REDACTED]Math:kaptGenerateStubsPhoneDebugKotlin
Task :[REDACTED]Math:kaptPhoneDebugKotlin FAILED

Environment:

If on Bitrise.io: which stack? If not on Bitrise.io: on what operating system? (Plus any other information you can share)

Build is using the “Android & Docker, on Ubuntu 20.04” stack. This stack was updated from Ubuntu 16 a week ago.

Reproducibility

  • Does a “Rebuild” help? (You can trigger a rebuild from the Build’s page, by clicking the “Rebuild” button in the top right corner of a finished build) : NO
  • Does a rebuild without caches help? (You can remove the Cache:Pull and Cache:Push steps temporarily to not to use the cache, or you can delete all the caches on the Settings tab of the app. : NO
  • Does the issue happen sporadically, or every time? : Every Time
  • Does upgrading the build Step to the latest version help? : NO
  • When did the issue start? : Today

Local reproduction

Can it be reproduced on your own Mac/PC by following our local debug guide? Please follow at least the first section (“Testing with a full clean git clone”) to make sure to test the state of the code what bitrise.io will get when it does a git clone in the clean environment! If possible please note which sections you tried.

NO

Local reproduction: Linux / Android (docker based) stack builds

Can it be reproduced by running the build locally, after doing a new git clone of the repository into the /tmp directory and running the build from there with the Bitrise CLI ( https://www.bitrise.io/cli )? If no, can it be reproduced with Docker (using the same docker images / environment we use on bitrise.io)? Related guide: Running your build locally in Docker - Bitrise Docs .

(Not attempted)

Build log

Please copy paste the build’s bitrise.io URL here (or if the issue happens somewhere else then the full logs), or if you can’t share the url / log here then send the url or full log through a private channel (e.g. email - Contact us ), with a link to the related Discuss issue.

If anyone else is seeing this issue, I was able to get around it by setting up a “Set Java Version” step and setting the java version back to Java 8 (the recent update set the default to java 11 it looks like?)

Hello,

Yes, the stacks still have both Java 8 and Java 11 but the default has been changed to Java 11.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.