Skip to content

Commit

Permalink
Include Android SDK 27 in the docker image and accept licenses (fireb…
Browse files Browse the repository at this point in the history
…ase#1104)

This was ripped off firebase#1091.
CI was failing on multiple packages when trying to build apks with:
```
A problem occurred evaluating root project 'android'.
> A problem occurred configuring project ':app'.
   > Failed to install the following Android SDK packages as some licences have not been accepted.
        platforms;android-27 Android SDK Platform 27
     To build this project, accept the SDK license agreements and install the missing components using the Android Studio SDK Manager.
     Alternatively, to transfer the license agreements from one workstation to another, see http://d.android.com/r/studio-ui/export-licenses.html
     Using Android SDK: /opt/android-sdk-linux
```

This tweaks the docker file to also install Android SDK 27 accept licenses for it, which fixes the CI failure.

The patch was authored by @dnfield I just split part of it out of firebase#1091.
  • Loading branch information
amirh authored Jan 23, 2019
1 parent 2f73415 commit e760f22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
task:
use_compute_credits: $CIRRUS_USER_COLLABORATOR == 'true' && $CIRRUS_PR == ''
container:
image: cirrusci/flutter:latest
dockerfile: .ci/Dockerfile
cpu: 4
memory: 8G
upgrade_script:
Expand Down

0 comments on commit e760f22

Please sign in to comment.