Install-missing-android-tools (exit code: 1)

Andoird dependencies check fail:

Checking the license for package Android SDK Build-Tools 26.0.2 in /opt/android-sdk-linux/licenses
Warning: License for package Android SDK Build-Tools 26.0.2 not accepted.
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.2].

What could be wrong?

A fix has been released for this error. After updating the step, do the builds pass successfully?