2

今天正在试验......本地项目正常运行,下面的CircleCI输出。 See my circle.yml hereCircleCI在Android支持库上构建失败

> 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 
+0

Circle无法找到Android的appcompat和设计支持库。 – es0329

回答

0

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