CircleCI在Android支持库上构建FAILURE

时间:2016-04-23 21:02:45

标签: android android-studio gradle continuous-integration circleci

今天尝试......本地项目运行良好,下面是CircleCI输出。 See my circle.yml here

> Configuring > 2/2 projectsFAILURE: 
> Configuring > 2/2 projectsBuild failed with an exception.
> Configuring > 2/2 projects
> Configuring > 2/2 projects
> Configuring > 2/2 projects* What went wrong:
> Configuring > 2/2 projectsA problem occurred configuring project ':app'.
> Configuring > 2/2 projects> 
> Configuring > 2/2 projectsCould not resolve all dependencies for configuration ':app:_debugCompile'.
> Configuring > 2/2 projects   
> Configuring > 2/2 projects> 
> Configuring > 2/2 projectsCould not find com.android.support:appcompat-v7:23.3.0.
> Configuring > 2/2 projects     Searched in the following locations:
> Configuring > 2/2 projects         https://jcenter.bintray.com/com/android/support/appcompat-v7/23.3.0/appcompat-v7-23.3.0.pom
> Configuring > 2/2 projects         https://jcenter.bintray.com/com/android/support/appcompat-v7/23.3.0/appcompat-v7-23.3.0.jar
> Configuring > 2/2 projects         file:/usr/local/android-sdk-linux/extras/android/m2repository/com/android/support/appcompat-v7/23.3.0/appcompat-v7-23.3.0.pom
> Configuring > 2/2 projects         file:/usr/local/android-sdk-linux/extras/android/m2repository/com/android/support/appcompat-v7/23.3.0/appcompat-v7-23.3.0.jar
> Configuring > 2/2 projects         file:/usr/local/android-sdk-linux/extras/google/m2repository/com/android/support/appcompat-v7/23.3.0/appcompat-v7-23.3.0.pom
> Configuring > 2/2 projects         file:/usr/local/android-sdk-linux/extras/google/m2repository/com/android/support/appcompat-v7/23.3.0/appcompat-v7-23.3.0.jar
> Configuring > 2/2 projects     Required by:
> Configuring > 2/2 projects         Fool-Android:app:unspecified
> Configuring > 2/2 projects   
> Configuring > 2/2 projects> 
> Configuring > 2/2 projectsCould not find com.android.support:design:23.3.0.
> Configuring > 2/2 projects     Searched in the following locations:
> Configuring > 2/2 projects         https://jcenter.bintray.com/com/android/support/design/23.3.0/design-23.3.0.pom
> Configuring > 2/2 projects         https://jcenter.bintray.com/com/android/support/design/23.3.0/design-23.3.0.jar
> Configuring > 2/2 projects         file:/usr/local/android-sdk-linux/extras/android/m2repository/com/android/support/design/23.3.0/design-23.3.0.pom
> Configuring > 2/2 projects         file:/usr/local/android-sdk-linux/extras/android/m2repository/com/android/support/design/23.3.0/design-23.3.0.jar
> Configuring > 2/2 projects         file:/usr/local/android-sdk-linux/extras/google/m2repository/com/android/support/design/23.3.0/design-23.3.0.pom
> Configuring > 2/2 projects         file:/usr/local/android-sdk-linux/extras/google/m2repository/com/android/support/design/23.3.0/design-23.3.0.jar

1 个答案:

答案 0 :(得分:0)

通过将支持库移动到构建配置文件的末尾来修复...似乎排序是不同的。见修订后的要点。