From 019e73eb13ea5deac87ea6a1fe0dc02e7e6c4549 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 24 Nov 2016 10:46:42 +0100 Subject: [PATCH] gitlab-ci: remove `android update sdk`, it just breaks things Unfortunately, something in the way that the docker image is created is making it impossible to run `android update sdk`. Even though it runs as root, it cannot upgrade things, and in the process, it seems to break the Android SDK bits that are there. Installing Android Support Repository, revision 40 Failed to rename directory /android-sdk/extras/android/m2repository to /android-sdk/temp/ExtraPackage.old01. Failed to create directory /android-sdk/extras/android/m2repository Done. Nothing was installed. A problem occurred configuring project ':app'. > Failed to notify project evaluation listener. > You have not accepted the license agreements of the following SDK components: [Android Support Repository]. 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 > Could not resolve all dependencies for configuration ':app:compile'. > Could not find com.android.support:support-v4:24.2.1. Required by: project :app > Could not find com.android.support:appcompat-v7:24.2.1. Required by: project :app > Could not find com.android.support:support-annotations:24.2.1. Required by: project :app --- .gitlab-ci.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 13425630a..8c5c4529f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,8 +7,6 @@ cache: before_script: - export GRADLE_USER_HOME=$PWD/.gradle - - printf 'y\n\n' | android --verbose update sdk --no-ui - --filter extra-android-m2repository test: script: