-
Notifications
You must be signed in to change notification settings - Fork 722
Accept ConstraintLayout licenses #6617
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Do you have a build log URL that shows the problem you are describing here? Are you listing licenses to accept? https://docs.travis-ci.com/user/languages/android#Dealing-with-Licenses |
This issues is documented in several places: I can't find/don't know what licenses I need to add to my Travis build to make it compile. |
I forgot to update this issue, there's been a fix for a while now: before_install:
- mkdir "$ANDROID_HOME/licenses" || true
- echo -e "\n8933bad161af4178b1185d1a37fbf41ea5269c55" > "$ANDROID_HOME/licenses/android-sdk-license"
- echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > "$ANDROID_HOME/licenses/android-sdk-preview-license" |
More info here travis-ci/travis-ci#6617
In short: fixed missing dependencies and not-accepted licenses. * Updated build tools according to 6804a38 * Added extra-android-support for ConstraintLayout * [Testing] Disabled emulator, build only * OK. Debugging * Revert "OK. Debugging" This reverts commit 70b6ab9. * Playing with licenses Source: travis-ci/travis-ci#6617 (comment) * Revert "[Testing] Disabled emulator, build only" This reverts commit 60267ff.
According to documentation all license should be accepted per default. Travis doesn't do that for ConstraintLayout. Also manually setting the license hash results in a failing build. Above comments also strugle with the setup as commits are marked with a red cross. |
All solutions mentioned here are failing other than the one that @wolkenschieber mentioned. Thanks alot for the fix, finally my builds are running 😄 PR Link: https://github.com/edx/edx-app-android/pull/1065 which includes the fix (Exact commit edx/edx-app-android@fe06b43) |
I keep getting the following error saying that Travis didn't accept the ConstraintLayout licenses:
The text was updated successfully, but these errors were encountered: