when I sync the gradle I have this error:
Error:Artifact 'com.viewpagerindicator:library:2.4.1:library.aar' not found.
my gradle is :
apply plugin: 'com.android.application'
repositories {
maven { url "http://dl.bintray.com/populov/maven" }
mavenCentral()
}
android {
compileSdkVersion 20
buildToolsVersion "20.0.0"
defaultConfig {
minSdkVersion 14
targetSdkVersion 19
}
packagingOptions {
exclude 'META-INF/LICENSE'
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/NOTICE'
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:19.1.+'
compile 'com.mcxiaoke.volley:library:1.0.6@aar'
compile 'com.squareup.picasso:picasso:2.2.+'
compile 'com.nineoldandroids:library:2.4.0'
compile 'com.daimajia.slider:library:1.1.2@aar'
compile 'com.viewpagerindicator:library:2.4.1@aar'
compile files('libs/jsoup-1.8.1.jar')
}
what do I have to do?!
Remove:
maven { url "http://dl.bintray.com/populov/maven" }
and instead of
compile 'com.viewpagerindicator:library:2.4.1@aar'
add:
compile 'com.mcxiaoke.viewpagerindicator:library:2.4.1@aar'
Clean and sync gradle.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With