アンドロイドスタジオで、Gradleプロジェクトが同期に失敗し、このエラーが発生しています。ここでエラー:(29,13)解決に失敗しました:com.squareup.picasso:picasso:2.5.2
Error:(29, 13) Failed to resolve: com.squareup.picasso:picasso:2.5.2
は私のbuild.gradle(モジュール)
apply plugin: 'com.android.application'
android {
compileSdkVersion 25
buildToolsVersion "25.0.2"
defaultConfig {
applicationId "com.example.user.popularmovies"
minSdkVersion 10
targetSdkVersion 25
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2',
{
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:cardview-v7:24.2.1'
compile 'com.android.support:appcompat-v7:25.3.1'
compile 'com.android.support:preference-v7:25.0.0'
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'com.android.support:design:23.1.1'
}
だとここで私のbuild.gradle(プロジェクト)
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
mavenCentral()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
画像はあなたが私のためのより多くの情報を印刷するには、 '--debug'フラグを追加することができますチェック
File> Settings...> Appearance & Behavior> System Settings> HTTP Proxy
、プロキシ認証でしたか? – chenrui
どこに追加しますか? –
'./gradlew依存関係--debug' – chenrui