I’m getting the error: License for package Android SDK Build-Tools 26.0.2 not accepted.
Checking the license for package Android SDK Build-Tools 26.0.2 in /usr/local/android-sdk-linux/licenses
Warning: License for package Android SDK Build-Tools 26.0.2 not accepted.
Checking the license for package Android SDK Platform 26 in /usr/local/android-sdk-linux/licenses
Warning: License for package Android SDK Platform 26 not accepted.
app: ‘annotationProcessor’ dependencies won’t be recognized as kapt annotation processors. Please change the configuration name to ‘kapt’ for these artifacts: ‘com.github.bumptech.glide:compiler:4.2.0’ and apply the kapt plugin: “apply plugin: ‘kotlin-kapt’”.
FAILURE: Build failed with an exception.
Having been through various posts in the forums, namely:
I’ve yet found a viable solution.
My actual config looks like this:
I’ve also tried the circleCI demo solution:
However this is running circleCI 1 on old SDK versions, bumping it to the latest generated my original error.
One thing I’ve not been able to understand, is that all my builds mention version 1.
When reading the documentation on setting up CircleCI 1 or 2, I should have a radio button at the “Setup my project” step.
I only have an option for Circle CI 1 and not 2. Unsure if thats related though.
Have tried all the fixes in the original post and nothing yet has worked. Would really appreciate if anyone has time to look into this.