Skip to content
  • Hans-Christoph Steiner's avatar
    gitlab-ci: remove `android update sdk`, it just breaks things · 019e73eb
    Hans-Christoph Steiner authored
    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
    019e73eb
Validating GitLab CI configuration… Learn more