Build fails at android-build@0.9.5 step

Bitrise Build Issue Report template

Description of the issue

The build errors out at android-build step. All the other steps are running working fine.

Environment:

Where did the issue happen?

On bitrise.io with the Hybrid stack.
Which build Step causes the issue and which version of the step?

Fails at step 5 i.e android-build. Version is 0.9.5

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? : Everytime
  • Does upgrading the build Step to the latest version help? : NO
  • When did the issue start? : From the beginning

Local reproduction

No

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

No

Build log

Hi @Amith92!

The issue seems to be that the step inputs are not properly specified.

By default, you have env_vars set up for the Module and the Variant of your project, but that does not reflect the default values Android Studio would provide for example. Please make sure to provide these values in the step input!

The project module name by default is “app” I believe, and the default variants are “Debug” and “Release”.
Basically, you should have something that looks like this in your env_vars: (given that you haven’t modified the step inputs)

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