"당신은 라이센스 계약을 승인하지 않은"실패, 나는 다음과 같은 트래비스-CI 구성이 :트래비스-CI 빌드
language: android
jdk: oraclejdk8
android:
components:
- build-tools-22.0.1
- android-22
- extra-google-m2repository
before_install:
- openssl aes-256-cbc -K $encrypted_8bf9e2e639dc_key -iv $encrypted_8bf9e2e639dc_iv
-in secrets.tar.enc -out secrets.tar -d
- tar xvf secrets.tar
- chmod +x gradlew
가 나는 다음과 같은 오류 얻을 구축하려고 :
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':app'.
> You have not accepted the license agreements of the following SDK components:
[ConstraintLayout for Android 1.0.0-alpha7, Solver for ConstraintLayout 1.0.0-alpha7].
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
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 1 mins 17.927 secs
The command "./gradlew build connectedCheck" exited with 1.
Done. Your build exited with 1.
을
이제 travis 설명서에서 밝히고있는 것처럼 travis는 기본적으로 모든 라이센스를 허용하므로이 문제가 발생하지 않아야합니다.
해결 방법이 있습니까?
동일하지 않은 경우 여기, 일부 답변이 https://stackoverflow.com/questions/42731625/travis-ci-failed-because-cannot-accept-license-constrain-layout/45622155 매우 유사합니다. # 45622155 –