# Build fails since image \`circleci/android:api-28\` has been updated!

**URL:** <https://discuss.circleci.com/t/build-fails-since-image-circleci-android-api-28-has-been-updated/27853>\
**Category:** Build Environment\
**Created:** [January 22, 2019, 10:00am UTC](https://discuss.circleci.com/t/build-fails-since-image-circleci-android-api-28-has-been-updated/27853 "2019-01-22T10:00:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![IslamSalah](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/islamsalah/32/11208_2.png) [@IslamSalah](https://discuss.circleci.com/u/IslamSalah)\
**Post date:** [January 22, 2019, 10:00am UTC](https://discuss.circleci.com/t/build-fails-since-image-circleci-android-api-28-has-been-updated/27853/1 "2019-01-22T10:00:01Z")

</div>

Everything was going well Before `circleci/android:api-28` has been updated 3 days ago. check [https://hub.docker.com/r/circleci/android/tags](https://hub.docker.com/r/circleci/android/tags)  
Since the update all builds fails with error:

```auto
> Failed to install the following Android SDK packages as some licences have not been accepted.
     build-tools;28.0.3 Android SDK Build-Tools 28.0.3
     platforms;android-28 Android SDK Platform 28
  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

```

I tried `circleci/android:api-28-alpha` and things work again!

---

<div class="post-metadata">

**Author:** ![halfer](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/halfer/32/9083_2.png) [@halfer](https://discuss.circleci.com/u/halfer)\
**Post date:** [January 22, 2019, 8:50pm UTC](https://discuss.circleci.com/t/build-fails-since-image-circleci-android-api-28-has-been-updated/27853/2 "2019-01-22T20:50:25Z")

</div>

You could pin to your last working hash until you know what the problem is.

This issue [is also being discussed here](https://discuss.circleci.com/t/licences-for-android-sdk-not-accepted/27830).

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/circleci/original/3X/5/1/511608acda8e85906e15909b57bd0a46c1dbe291.png) [@system](https://discuss.circleci.com/u/system)\
**Post date:** [February 1, 2019, 9:03pm UTC](https://discuss.circleci.com/t/build-fails-since-image-circleci-android-api-28-has-been-updated/27853/3 "2019-02-01T21:03:37Z")

</div>

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
