2

I builded my library Android build-tools version to 23.0.3 in travis-ci but building is failure like below

FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':app'.
> failed to find Build Tools revision 23.0.3

in my .travis.yml like below

language: android
android:
  components:
    - build-tools-23.0.3
    - android-23
    - extra

and this is the travis-ci build logs here

Amit Vaghela
  • 22,772
  • 22
  • 86
  • 142
emrekose26
  • 683
  • 1
  • 8
  • 21

1 Answers1

0

You need to update sdk tools and platform tools due to the versions used by the VM are outdated and the build tools you are trying to use require them. This change will install latest tools:

language: android
android:
  components:
    - platform-tools
    - tools
    - build-tools-23.0.3
    - android-23
    - extra

Further information here and here.

albodelu
  • 7,931
  • 7
  • 41
  • 84