My settings:
image: uber/android-build-environment:latest pipelines: default: - step: script: - mkdir "${ANDROID_HOME}/licenses" || true - echo "8933bad161af4178b1185d1a37fbf41ea5269c55" > "${ANDROID_HOME}/licenses/android-sdk-license" - bash ./gradlew build crashlyticsUploadDistributionRelease
FAILURE: Build failed with an exception.
* Where:
Build file '/opt/atlassian/pipelines/agent/build/build.gradle' line: 52
* What went wrong:
A problem occurred evaluating root project 'build'.
> For input string: ""
What could be the cause of the error. Looks like that is something wrong on server.
Hey @[deleted],
Everything looks correct, the only thing I'm not sure about is how you invoke the gradle wrapper; if you turn that last line into
bash -c "./gradlew build crashlyticsUploadDistributionRelease"
does that improve it? I'm thinking that the arguments "build" and "crashlyticsUploadDistributionRelease" are going to bash, not to gradlew
-Seb
Hey @SebC
The problem is not related with: crashlyticsUploadDistributionRelease.
Problem occurs related with don't installed git on image. Always when I commit something I counts commits.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
AI is reshaping the dev experience, with faster builds but adding more friction. See what 3,500 developers and managers say about productivity, tools, and team alignment in Atlassian’s State of Developer Experience report 2025.
Explore the report
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.