Hi i am trying to build my android project in bitbucket pipeline using the
bitbucketpipelines/android-ci-image
But i keep getting an error below:
```
 What went wrong:Could not determine the dependencies of task ':app:compileReleaseJavaWithJavac'.> Failed to install the following Android SDK packages as some licences have not been accepted. build-tools;30.0.0 Android SDK Build-Tools 30 platforms;android-29 Android SDK Platform 29 To build this 
```
This is what my yaml file looks like
```
pipelines:
  branches:
    master:
      - parallel:
          - step:
              name: Build
              image: bitbucketpipelines/android-ci-image
              caches:
                - gradle
              script:
                - ./gradlew assembleRelease
              artifacts:
                - app/build/outputs/**
          - step:
              name: Build Debug
              caches:
                - gradle
              image: bitbucketpipelines/android-ci-image
              script:
                - ./gradlew assembleDebug
              artifacts:
                - app/build/outputs/**
```
I was following this guide https://bitbucket.org/blog/automate-publishing-your-android-application-with-bitbucket-pipelines-and-gradle
Hi @Jonathan Richards ,
Welcome to the community!
You can follow this link https://medium.com/@_tiwiz/building-android-with-bitbucket-pipelines-83cd62dbde33
Regards,
Soumyadeep
 
 
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.