-
Notifications
You must be signed in to change notification settings - Fork 722
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
Android SDK Build-Tools 24.0.2 license problem #6555
Comments
Do you have a build log URL that shows the problem you are describing here? |
It appears to have been fixed in https://travis-ci.org/AlokBansal8/UtilityClasses/builds/157195324. |
Yeah. Adding the following lines to .travis.yml file helped:
But my doubt was that the CI should have automatically accepted all the licenses. And I should not have to resort to this step. |
I'm having a similar issue (https://travis-ci.org/stephengroat/ics-openvpn) but |
I'm also having this issue. It complains:
I did as AlokBansal8 suggested, but it did not help. |
@httpdigest Actually the log already told you what happen:
|
So, I take it that whenever one wants to use a newer build-tools version than what is already installed on the Travis CI build server, one needs to declare the
But then after that, the The information about this is a bit vague. |
The Android SDK Tools installed on Travis server only fetching yes I agree with you, the document should mention that what will happen if you don't use the latest revision of Android SDK Tools. |
It may be the tools issue. See this issue also for running on android-25: (travis-ci/docs-travis-ci-com#779) Example:
|
From travis-ci/travis-ci#6555, because this build failed for 25.0.2 license - https://travis-ci.org/barbeau/android-maps-utils/builds/204853052
Since this has not been fixed, just using command line:
|
@jaredsburrows using command line is the only way it works for me, THANKS! |
I have the same problem for |
I have fixed it adding a shell script file ( echo "$ANDROID_HOME"
mkdir "$ANDROID_HOME/licenses" || true
echo -e "\n8933bad161af4178b1185d1a37fbf41ea5269c55" > "$ANDROID_HOME/licenses/android-sdk-license"
echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > "$ANDROID_HOME/licenses/android-sdk-preview-license" and calling it on my before_install:
- bash .travis-android-license-bugfix.sh |
It's a good moment to migrate to sdkmanager and avdmanager, you can accept the license directly without workarounds as explained here:
|
Fixed travis licence problem: travis-ci/travis-ci#6555
* Added support for file logging sharing Fixed travis licence problem: travis-ci/travis-ci#6555 * Fixed travis licence problem: travis-ci/travis-ci#6555
Thanks for contributing to this issue. As it has been 90 days since the last activity, we are automatically closing the issue. This is often because the request was already solved in some way and it just wasn't updated or it's no longer applicable. If that's not the case, please do feel free to either reopen this issue or open a new one. We'll gladly take a look again! You can read more here: https://blog.travis-ci.com/2018-03-09-closing-old-issues |
A problem occurred configuring project ':lib-classes'.
The text was updated successfully, but these errors were encountered: