Android pipeline Edited

Hi,

How can I configure the pipline to run my android builds, currently I have a vary basic configuration

# This is a sample build configuration for Java – Gradle.
# Check our guides at https://confluence.atlassian.com/x/zd-5Mw 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.
          # You must commit the Gradle wrapper to your repository
          # https://docs.gradle.org/current/userguide/gradle_wrapper.html
          - bash ./gradlew build

That results in the following error:

> SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable.

1 answer

This widget could not be displayed.

I've figured the error out with this blog post https://medium.com/@_tiwiz/building-android-with-bitbucket-pipelines-83cd62dbde33

Wondering now how to start an emulator to run the connected tests

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,345 views 8 11
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you