Comments (7)
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.
its also happen to me,,, pls fix it
from gitlab-ci-android.
I also have same issue
from gitlab-ci-android.
This is not related to this particular Docker image, as it happens with me using another image with Android SDK.
from gitlab-ci-android.
@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.
@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.
I also have the same issue
from gitlab-ci-android.
Related Issues (20)
- [Suggestion] Gradle and NDK tool HOT 1
- update build-tools to 29.0.3 HOT 1
- Feature request: NDK support HOT 1
- Update build-tools to 30.0.0 HOT 3
- Replace ANDROID_HOME with ANDROID_SDK_ROOT HOT 1
- chmod: cannot access './gradlew': No such file or directory HOT 1
- Add NDK version HOT 1
- Java version error HOT 3
- OpenJDK11 and JaCoCo HOT 5
- Pass txt file to sdkmanager HOT 2
- Can not build app that uses RenderScript HOT 1
- error=7, Argument list too long
- NoClassDefFoundError HOT 1
- NDK support needed! HOT 1
- Could not find ANDROID_SDK_ROOT HOT 10
- Git HOT 2
- sdkmanager doesn't work due to JDK 11, needs 8
- Add supporting Android NDK HOT 3
- Release SDK 31 HOT 3
- bad interpreter: Permission denied HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gitlab-ci-android.