どのようにこの問題を解決するには「の解決の依存できません 『:アプリ@デバッグ/ compileClasspathは』:PinView:com.github.Goodiebag解決できませんでした。V1.3」を

アディルSiddiqui著:

私は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" }
    }
}
日Vaishnav:
  1. あなたのインターネット接続がオンになっていることを確認してください

  2. あなたのAndroidスタジオは、オフラインモードではありません

これを追加:上記の2が正しい場合は、これを行うmaven { url "https://jitpack.io" }あなたにbuild.gradle(プロジェクトレベル)あなたのbuild.gradle allprojectsブロックコードは次のようになりますので、allprojectsブロックの下にあるリポジトリのブロックの下に:

allprojects {
    repositories {
        google()
        jcenter()
        maven { url "https://jitpack.io" }
    }
}

おすすめ

転載: http://43.154.161.224:23101/article/api/json?id=218732&siteId=1