We updated to build tools 26.0.2 on 4th October, and all builds since then have worked - but this morning builds started failing. The Install Missing Android Tools build step is failing with:
File /root/.android/repositories.cfg could not be loaded.
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].
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
Licenses have been exported and copied in as a workaround, but the same error is occurring.
The stack is Android & Docker, on Ubuntu 16.04. All builds steps are at the latest version. Previously successfully building branches are also now failing, even though they have not been changed.
Has something changed with the VM?