Is it possible to setup Pipelines to build an Android app? At the moment, I'm getting the following:
location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable.
I'm using the default config file at the moment as I can't find anything regarding Android builds.
# This is a sample build configuration for Gradle.
# Check our guides at https://confluence.atlassian.com/x/VYk8Lw for more examples.
# Only use spaces to indent your .yml configuration.
# -----
# You can specify a custom docker image from Docker Hub as your build environment.
image: java:8
pipelines:
default:
- step:
script: # Modify the commands below to build your repository.
- android update sdk --filter "build-tools-23.0.3" --no-ui -a
- ./gradlew build
Thanks.