Giter Site home page Giter Site logo

Comments (7)

benliger avatar benliger commented on May 24, 2024 1

A had the same problem in another docker image: appunite/docker#60

The solution is to change the license :
Before we had:

echo -e "\n8933bad161af4178b1185d1a37fbf41ea5269c55" > "${ANDROID_HOME}/licenses/android-sdk-license"

you need to switch to:

echo -e "\n8933bad161af4178b1185d1a37fbf41ea5269c55\nd56f5187479451eabf01fb78af6dfcb131a6481e" > "${ANDROID_HOME}/licenses/android-sdk-license"

Good luck!

from gitlab-ci-android.

dekzitfz avatar dekzitfz commented on May 24, 2024

its also happen to me,,, pls fix it

from gitlab-ci-android.

Afur avatar Afur commented on May 24, 2024

I also have same issue

from gitlab-ci-android.

vhladiienko avatar vhladiienko commented on May 24, 2024

This is not related to this particular Docker image, as it happens with me using another image with Android SDK.

from gitlab-ci-android.

nicolasd avatar nicolasd commented on May 24, 2024

@atomaka i still have the same issue with the new license key

i looked on my computer's licence keys and seems that i have another licence key in the android-sdk-preview-licence:

504667f4c0de7af1a06de9f4b1727b84351f2910
84831b9409646a918e30573bab4c9c91346d8abd

I tried to push a fork into hub.docker, but the compilation failed each times on

Loading package information...                                                  
Loading local repository...                                                     
[                                       ] 3% Loading local repository...        
[                                       ] 3% Fetch remote repository...         
[                                       ] 3% Fetch remote repository...         
[=                                      ] 3% Fetch remote repository...         
[=                                      ] 3% Fetch remote repository...         
[=                                      ] 3% Fetch remote repository...         
[=                                      ] 3% Fetch remote repository...         
[=                                      ] 3% Fetch remote repository...         
[=                                      ] 3% Fetch remote repository...         
[=                                      ] 3% Fetch remote repository...         
[=                                      ] 3% Fetch remote repository...         
[=                                      ] 3% Fetch remote repository...         
[=                                      ] 3% Fetch remote repository...         
[=                                      ] 3% Fetch remote repository...         
[=                                      ] 4% Fetch remote repository...         
[=                                      ] 4% Fetch remote repository...         
[=                                      ] 4% Fetch remote repository...         
[=                                      ] 4% Fetch remote repository...         
[=                                      ] 4% Fetch remote repository...         
[=                                      ] 4% Fetch remote repository...         
[=                                      ] 4% Fetch remote repository...         
[=                                      ] 4% Fetch remote repository...         
[==                                     ] 5% Fetch remote repository...         
[==                                     ] 6% Fetch remote repository...         
[==                                     ] 6% Computing updates...               
[===                                    ] 8% Computing updates...               
�[91mWarning: Failed to find package add-ons;addon-google_apis-google-24
�[0m
[===                                    ] 8% Computing updates...               
[===                                    ] 10% Computing updates...              
                                                                                
[===                                    ] 10% Computing updates...              
Removing intermediate container 2e5ad748823b

The command '/bin/sh -c while read -r package; do PACKAGES="${PACKAGES}${package} "; done < /sdk/packages.txt &&     ${ANDROID_HOME}/tools/bin/sdkmanager ${PACKAGES}' returned a non-zero code: 1

from gitlab-ci-android.

jangrewe avatar jangrewe commented on May 24, 2024

@nicolasd i've added the additional preview license key to the Dockerfile, but i was able to build the image with the fix from #28 just fine, too (the image uses 26.0.2, though).
I'm happy to add any license keys you guys need, but i'm usually only testing/building the image for the latest stable version.

from gitlab-ci-android.

leiliping avatar leiliping commented on May 24, 2024

I also have the same issue

from gitlab-ci-android.

Related Issues (20)

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.