2016-08-01 91 views
2

我建造我的libraryAndroid build-tools version to 23.0.3特拉維斯-CI,但建築是像下面特拉維斯慈未能找到構建工具版本23.0.3

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

失敗在我.travis.yml像下面

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

和這是travis-ci build logshere

回答

0

由於使用版本,您需要更新sdk工具和平臺工具虛擬機的虛擬機已經過時,並且您嘗試使用的構建工具需要它們。這一變化將安裝最新的工具:

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

更多信息herehere

相關問題