Error:(27, 13) Failed to resolve: org.quanqi:android-view-pager-indicator:0.9.0
.....
Error:(29, 13) Failed to resolve: com.astuetz:pagerslidingtabstrip:1.0.1
....
Error:(28, 13) Failed to resolve: com.sothree.slidinguppanel:library:3.1.1
....
我的gradle依赖项是
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
//testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.0.1'
compile 'com.android.support:design:23.0.1'
compile 'org.quanqi:android-view-pager-indicator:0.9.0'
compile 'com.sothree.slidinguppanel:library:3.1.1'
compile 'com.astuetz:pagerslidingtabstrip:1.0.1'
}
我的代理设置在gradle.properties ...(凭据未显示)
systemProp.http.proxyPassword=xxxxxx
systemProp.http.proxyHost=x.x.x.x
systemProp.http.proxyUser=xx@x.com
systemProp.http.proxyPort=8080
仍然是gradle构建失败...当我在防火墙外构建项目时,它工作正常,不需要代理。我使用的是Android Studio 1.4
我已经尝试过以下操作并且没有成功: -
Using ViewPagerIndicator library with Android Studio and Gradle
Use HTTP as default in IntelliJ or Android Studio
我已经为Andriod Studio和SDK配置了代理设置。
答案 0 :(得分:0)
这三个r库项目,它被添加为
在compile project(':library_projectname')
导入库模块中
settings.gradle
在include ':app', ':library_projectname'
{{1}}