両方のMavenリポジトリを追加しようとしましたが、これを解決できないようです。
のGradle解決できませんでした:de.hdodenhof:circleimageview:2.1.0
ルートbuild.gradle
buildscript {
repositories {
mavenCentral()
// maven { url "https://mvnrepository.com/artifact/de.hdodenhof/circleimageview" }
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.1.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
故障したモジュールbuild.gradle
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.3.0'
// compile files('libs/CircleImageView-master/gradle/wrapper/gradle-wrapper.jar')
compile 'de.hdodenhof:circleimageview:2.1.0'
}
解決するには:de.hdodenhof:circleimageview:2.1.0
うん、根を持つことになり、この
ような何かを行いますgradleにはリポジトリがあり、モジュールgradleには依存関係があります。私は私のメインポストを更新しました。 私はAndroid Studioでクリーンビルドを使用していますが、私はそれがgralew cleanと同等だと考えていますが、それを把握するとすぐにこれを試してみます。 –
いいえ、それは似ていません。 '--refresh-dependencies'がGradleキャッシュを無効にし、すべての依存関係を再度ダウンロードするためです。 –
Android Studioまたは –