I have a github rep and tags on it.
This is my gradle file of my main project.
apply plugin: 'com.android.application' android { compileSdkVersion 23 buildToolsVersion "23.0.0" defaultConfig { applicationId "dropbox.ric.es.myapplication" minSdkVersion 16 targetSdkVersion 23 versionCode 1 versionName "1.0" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } repositories { //mavenCentral() //jcenter() maven { url "https://jitpack.io" } } dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) compile 'com.android.support:appcompat-v7:23.0.1' compile 'com.github.rchampa:DropboxHttpConector:1.0.1' }
But when I synchronize gradle, I have the following error Failed to resolve com.github.rchampa:DropboxHttpConector:1.0.1
Another attempt:
allprojects { repositories { jcenter() maven { url "https://jitpack.io" } } } dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) compile 'com.android.support:appcompat-v7:23.0.1' compile 'com.github.rchampa:DropboxHttpConector:1.0.1' }
Still missing.
git android github jitpack
Ricardo Oct 10 '15 at 19:55 2015-10-10 19:55
source share