私はGradleの中で依存関係を追加するときには、エラーを示しています。
':アプリ@デバッグ/ compileClasspath' の解決の依存にできませんcom.github.Goodiebagを解決できませんでした:PinView:V1.3。ファイルを開くショー詳細
':アプリ@ debugAndroidTest / compileClasspath' の解決の依存にできませんcom.github.Goodiebagを解決できませんでした:PinView:V1.3。ファイルを開く詳細を表示
':アプリ@ debugUnitTest / compileClasspath' の解決の依存にできませんcom.github.Goodiebagを解決できませんでした:PinView:V1.3。ファイルを開く詳細を表示
以下のための解決の依存できません ':リリース/ compileClasspath @アプリ':com.github.Goodiebagを解決できませんでした:PinView:V1.3。ファイルを開く詳細を表示
':アプリ@ releaseUnitTest / compileClasspath' の解決の依存にできませんcom.github.Goodiebagを解決できませんでした:PinView:V1.3。ファイルを開く詳細を表示
ここに私の依存関係:
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.android.support:appcompat-v7:27.+'
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
implementation 'com.android.support:support-v4:27.1.1'
implementation 'com.android.support:design:27.1.1'
testImplementation 'junit:junit:4.12'
implementation 'com.android.volley:volley:1.1.1'
implementation 'com.github.Goodiebag:PinView:v1.3'//this one is showing error
/*implementation 'dev.dworks.libs:volleyplus:0.1.4'*/
/*implementation 'dev.dworks.libs:volleyplus:+'*/
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
ここで私のbuild.gradleである(プロジェクトCogniable)
allprojects {
repositories {
google()
jcenter()
maven{ url "https://jitpack.io" }
}
}
あなたのインターネット接続がオンになっていることを確認してください
あなたのAndroidスタジオは、オフラインモードではありません
これを追加:上記の2が正しい場合は、これを行うmaven { url "https://jitpack.io" }
あなたにbuild.gradle(プロジェクトレベル)あなたのbuild.gradle allprojectsブロックコードは次のようになりますので、allprojectsブロックの下にあるリポジトリのブロックの下に:
allprojects {
repositories {
google()
jcenter()
maven { url "https://jitpack.io" }
}
}