I want to add this repository to my Android Studio project and I tried multiple dependencies but it just doesn't work. Any help, guys ?
My build.gradle (app) file:
apply plugin: 'com.android.application' android { compileSdkVersion 24 buildToolsVersion "24.0.2" defaultConfig { applicationId "com.example.myapp" minSdkVersion 21 targetSdkVersion 23 versionCode 1 versionName "1.0" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) compile 'com.android.support:support-v4:24+' compile 'com.7heaven.widgets:segmentcontrol:1.16' compile 'at.bookworm:segcontrol:1' //THIS GUY IS MY PROBLEM } My build.gradle (app) file:
buildscript { repositories { jcenter() maven { url "https://jitpack.io" } } dependencies { classpath 'com.android.tools.build:gradle:2.1.3' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } } allprojects { repositories { jcenter() } }