-
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.
-
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.