Android SDK license

Hi there,

I recently migrated my CircleCI builds from 1.0 to 2.0 and they worked well for a few days, but today I got the build failure about SDK license without any change to config.yml:

> You have not accepted the license agreements of the following SDK components:
  [Android SDK Build-Tools 26.0.2].
  Before building your project, you need to accept the license agreements and complete the installation of the missing components using the Android Studio SDK Manager.
  Alternatively, to learn how to transfer the license agreements from one workstation to another, go to http://d.android.com/r/studio-ui/export-licenses.html

I tried https://developer.android.com/studio/intro/update.html#download-with-gradle but still doesn’t work.

The docker image I have in my config.yml is circleci/android:api-26-alpha (https://hub.docker.com/r/circleci/android/tags/), and I found that it has been updated several hours before and it seems the build failure occurred after that update… :thinking:

1 Like

2 posts were merged into an existing topic: Licences for Android build with sdk-tools 26.0.2 not accepted