Comments (3)
Hey @DSamaryan! This sounds like an issue with sdkmanager, because before installing the emulator there is a yes | sdkmanager --licenses
which should accept all the licenses. Are you sure it wasn't a network timeout issue?
from docker-emulator-android.
Yes, I am. I added a set -X
command and grabbed the logs, here it is
+ sdkmanager emulator tools platform-tools platforms;android-16 system-images;android-16;google_apis;x86 --verbose
+ uniq
Warning: File /root/.android/repositories.cfg could not be loaded.
Info: Parsing /opt/android-sdk-linux/tools/package.xml
License android-sdk-license: ] 10% Computing updates...
\---------------------------------------
Terms and Conditions
This is the Android Software Development Kit License Agreement
1. Introduction
1.1 The Android Software Development Kit (referred to in the License Agreement as the "SDK" and specifically including the Android system files, packaged APIs, and Google APIs add-ons) is licensed to you subject to the terms of the License Agreement. The License Agreement forms a legally binding contract between you and Google in relation to your use of the SDK.
And then I got the error
14.7 The License Agreement, and your relationship with Google under the License Agreement, shall be governed by the laws of the State of California without regard to its conflict of laws provisions. You and Google agree to submit to the exclusive jurisdiction of the courts located within the county of Santa Clara, California to resolve any legal matter arising from the License Agreement. Notwithstanding this, you agree that Google shall still be allowed to apply for injunctive remedies (or an equivalent type of urgent legal relief) in any jurisdiction.
January 16, 2019
---------------------------------------
Accept? (y/N): Skipping following packages as the license is not accepted:
Android Emulator
Android SDK Platform 16
SDK Patch Applier v4
Android SDK Platform-Tools
The following packages can not be installed since their licenses or those of the packages they depend on were not accepted:
patcher;v4
system-images;android-16;google_apis;x86
platform-tools
platforms;android-16
emulator
[=======================================] 100% Computing updates...
+ echo n
+ avdmanager create avd -n x86 --package system-images;android-16;google_apis;x86 --tag google_apis
Error: Package path is not valid. Valid system image paths are:ository...
null
and the pipe was crashed finally
from docker-emulator-android.
@DSamaryan got it. could you please create a PR for this? I'll check the builds internally and will post back
from docker-emulator-android.
Related Issues (15)
- Doesn't save state between restarts
- Could not build android-28 HOT 5
- Make error HOT 2
- Cannot build android-28
- Could you release a ARM version? HOT 3
- PRs should pass at least 1 peer review
- adb_usb.ini is no longer used by adb
- Performance and resource recommendations HOT 6
- After restart container emulator not worked
- Having trouble pulling image HOT 2
- Cloud provider HOT 3
- emulator won't start due to using qemu_i386 HOT 3
- How to connect with OpenSTF? HOT 2
- "make build" error HOT 1
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 docker-emulator-android.