# Unable to specify build-tools-29.0.3 and accept license SDK 29

**URL:** <https://travis-ci.community/t/unable-to-specify-build-tools-29-0-3-and-accept-license-sdk-29/8404>\
**Category:** Travis CI Discussions & Feedback\
**Tags:** android\
**Created:** [April 29, 2020, 9:38pm UTC](https://travis-ci.community/t/unable-to-specify-build-tools-29-0-3-and-accept-license-sdk-29/8404 "2020-04-29T21:38:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dgithubg](https://avatars.discourse-cdn.com/v4/letter/d/f14d63/32.png) [@dgithubg](https://travis-ci.community/u/dgithubg)\
**Post date:** [April 29, 2020, 9:38pm UTC](https://travis-ci.community/t/unable-to-specify-build-tools-29-0-3-and-accept-license-sdk-29/8404/1 "2020-04-29T21:38:04Z")

</div>

> **[Travis CI - Test and Deploy with Confidence](https://app.travis-ci.com/github/Sense360/Quinoa/builds/162322865)**
>
> Travis CI enables your team to test and ship your apps with confidence. Easily sync your projects with Travis CI and you'll be testing your code in minutes.

1. Specifying Android API 29 and build-tools 29.0.3 appears to still result in the build running with license 28.0.3 for some reason.

2. I also cannot properly accept the licenses for 28.0.3 or 29.0.3 when specifying Java 9 (which is needed to run Roboelectric tests with Android API level 29).

> before\_install:
> 
> - yes | sdkmanager “platforms;android-29”
> - yes | sdkmanager “build-tools;29.0.3”

Any help would be much appreciated, we are currently setting up a Jenkins box to allow for continued testing of the latest Android APIs with Roboelectric until it is supported by Travis CI. Output below:

_File /home/travis/.android/repositories.cfg could not be loaded._  
_Checking the license for package Android SDK Build-Tools 28.0.3 in /usr/local/android-sdk/licenses_  
_Warning: License for package Android SDK Build-Tools 28.0.3 not accepted._  
_Checking the license for package Android SDK Platform 29 in /usr/local/android-sdk/licenses_  
_Warning: License for package Android SDK Platform 29 not accepted._

---

<div class="post-metadata">

**Author:** ![int02h](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/int02h/32/4552_2.png) [@int02h](https://travis-ci.community/u/int02h)\
**Post date:** [May 9, 2020, 10:10am UTC](https://travis-ci.community/t/unable-to-specify-build-tools-29-0-3-and-accept-license-sdk-29/8404/2 "2020-05-09T10:10:45Z")

</div>

Did you solve this issue? I’ve faced it too.
