Steps-install-missing-android-tools failing - 'You have not accepted the license agreements of the following SDK components:'

Starting a few hours ago, the previously building project has started failing with the following error:

FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring project ‘:app’.

You have not accepted the license agreements of the following SDK components:
[Android SDK Build-Tools 26.0.1, Android SDK Platform 26].
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 Exporting licenses - Android Studio Project Site

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
    BUILD FAILED
    Total time: 50.744 secs
    exit status 1
    | |
    ±–±--------------------------------------------------------------±---------+
    | x | install-missing-android-tools@2.0.2 (exit code: 1) | 60 sec |
    ±–±--------------------------------------------------------------±---------+
    | Update available: 2.0.2 → 2.0.3 |
    | Issue tracker: …bitrise-steplib/steps-install-missing-android-tools/issues |
    | Source: …://github.com/bitrise-steplib/steps-install-missing-android-tools |
    ±–±--------------------------------------------------------------±---------+

Example: https://www.bitrise.io/build/0b8b95b1ecf3b867

Is there anything we can do about it to solve this?

Please upgrade the step, the fix was deployed in the mentioned version (2.0.3)

If you’d still have the issue after upgrading the step to the latest version just let us know!
Happy Building! :slight_smile:

Great, that fixed it, thank you!

1 Like

Glad to hear, Happy Building! :blush: