gpt4 book ai didi

android - viewPagerIndicator :Error:Artifact 'com.viewpagerindicator:library:2.4.1:library.aar' not found

转载 作者:塔克拉玛干 更新时间:2023-11-02 20:22:43 30 4
gpt4 key购买 nike

当我同步 gradle 时出现此错误:

错误:未找到 Artifact “com.viewpagerindicator:library:2.4.1:library.aar”。

我的 gradle 是:

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')
}

我必须做什么?!

最佳答案

删除:

maven { url "http://dl.bintray.com/populov/maven" }

而不是

compile 'com.viewpagerindicator:library:2.4.1@aar'

添加:

compile 'com.mcxiaoke.viewpagerindicator:library:2.4.1@aar'

清理并同步 gradle。

关于android - viewPagerIndicator :Error:Artifact 'com.viewpagerindicator:library:2.4.1:library.aar' not found,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28791991/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com