GithubHelp home page GithubHelp logo

android-sdk-resource's People

Contributors

xaethos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

android-sdk-resource's Issues

License not accepted when trying to run a build

When including this resource as part of a Concourse pipeline and trying to run :app:assembleDebug the response is

A problem occurred configuring project ':app'.
> Failed to install the following Android SDK packages as some licences have not been accepted.
     build-tools;28.0.3 Android SDK Build-Tools 28.0.3
     platforms;android-28 Android SDK Platform 28
  To build this project, accept the SDK license agreements and install the missing components using the Android Studio SDK Manager.
  Alternatively, to transfer the license agreements from one workstation to another, see http://d.android.com/r/studio-ui/export-licenses.html
  
  Using Android SDK: /tmp/build/63c5f882/android-sdk-linux

And, manually running the sdkmanager to accept the licenses is not possible since the /toos/bin folder doesn't contain the sdkmanager:

  • ls -l /tmp/build/63c5f882/android-sdk-linux/tools/bin
    total 7712
    -rwxr--r-- 1 root root 2114036 Oct 14 2015 e2fsck
    -rwxr--r-- 1 root root 2114036 Oct 14 2015 fsck.ext4
    -rwxr--r-- 1 root root 1482940 Oct 14 2015 mkfs.ext4
    -rwxr--r-- 1 root root 837320 Oct 14 2015 resize2fs
    -rwxr--r-- 1 root root 1331428 Oct 14 2015 tune2fs

The license should already be accepted while downloading the sources or the sdkmanager should exist to attempt accepting it before (via yes | sdkmanager "build-tools;28.0.3") but neither of these options is available.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.