travis: install build-tools via sdkmanager
to work around issue accepting license
@@ -11,7 +11,7 @@ android:
- platform-tools
# The BuildTools version used by your project
- - build-tools-28.0.3
+ # - build-tools-28.0.3
# The SDK version used to compile your project
- android-28
@@ -31,7 +31,7 @@ android:
before_install:
# The following line can be removed when https://github.com/travis-ci/travis-ci/issues/8874 is resolved
- - yes | sdkmanager "platforms;android-28"
+ - yes | sdkmanager "build-tools;28.0.3" "platforms;android-28"
- chmod +x gradlew
script: 'travis_retry ./gradlew clean build test'
