Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Conversation

amirh
Copy link
Contributor

@amirh amirh commented Jan 23, 2019

This was ripped off #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 #1091.

@dnfield
Copy link
Contributor

dnfield commented Jan 23, 2019

LGTM - feel free to land if iOS decides it doesn't hate us anymore.

@amirh amirh changed the title [WIP] Attempt to fix the unaccepted licenses CI failure Accept licenses for Android SDK 27 Jan 23, 2019
@amirh
Copy link
Contributor Author

amirh commented Jan 23, 2019

@dnfield can you make sure that the updated PR description and title makes sense?

@amirh amirh changed the title Accept licenses for Android SDK 27 Include Android SDK 27 in the docker image and accept licenses Jan 23, 2019
@dnfield
Copy link
Contributor

dnfield commented Jan 23, 2019

Sounds good!

@dnfield
Copy link
Contributor

dnfield commented Jan 23, 2019

I rekicked the IPA build - it looks like a flake to me.

@dnfield
Copy link
Contributor

dnfield commented Jan 23, 2019

Ah nevermind. I missed a bunch of errors in there that are definitely not flakes.

@amirh
Copy link
Contributor Author

amirh commented Jan 23, 2019

Landing on red, as there are currently 2 separate causes for the CI failure, this issue, and the firebase_ml_vision ios failure. Landing this fixes one issue.

@amirh amirh merged commit f878659 into flutter:master Jan 23, 2019
andreidiaconu pushed a commit to andreidiaconu/plugins that referenced this pull request Feb 17, 2019
…er#1104)

This was ripped off flutter#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 flutter#1091.
andreidiaconu added a commit to andreidiaconu/plugins that referenced this pull request Feb 17, 2019
julianscheel pushed a commit to jusst-engineering/plugins that referenced this pull request Mar 11, 2020
…er#1104)

This was ripped off flutter#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 flutter#1091.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants