Hope this shouldn't be too complicated, but:
I'm currently trying to create a project in Android / Travis CI, which you can find here. I am trying to use the Android L developer preview and build using Travis-CI. I was hoping that using the Gradle SDK Manager plugin would allow me to do this. Unfortunately not. I do not know if the build.gradle file is installed incorrectly or what, but I was hoping that someone could point me in the right direction.
Build Error :
FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring project ':app'. > Could not resolve all dependencies for configuration ':app:_testConfigDebugCompile'. > Could not find any version that matches com.android.support:appcompat-v7:20.+. Required by: MinimalBible:app:unspecified
build.gradle :
buildscript { repositories { mavenCentral() } dependencies { classpath 'com.jakewharton.sdkmanager:gradle-plugin:0.10.+' } } apply plugin: 'android-sdk-manager' apply plugin: 'com.android.application' android { compileSdkVersion 20 buildToolsVersion '20.0.0' defaultConfig { applicationId 'org.bspeice.minimalbible' minSdkVersion 8 targetSdkVersion 20 versionCode 1 versionName '1.0' } buildTypes { release { runProguard false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { compile 'com.squareup.dagger:dagger:1.2.1' provided 'com.squareup.dagger:dagger-compiler:1.2.1' compile 'com.android.support:appcompat-v7:20.+' }
Let me know if additional information is required.
source share