CircleImageView: Error:(23, 13) Failed to resolve: de.hdodenhof:circleimageview:2.0.0

Hi, I am having failed to resolved error in my android studio project, here’s my build.gradle settings,

apply plugin: 'com.android.application'
android {
    compileSdkVersion 23
    buildToolsVersion '23.0.0'
    useLibrary 'org.apache.http.legacy'

    defaultConfig {
        applicationId "my.package.name.appname"
        minSdkVersion 9
        targetSdkVersion 23
    }

    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
        }
    }
}

dependencies {
    compile files('src/main/Vuforia.jar')
    compile 'com.android.support:appcompat-v7:23.1.0'
    compile 'com.android.support:design:23.1.0'
    compile 'de.hdodenhof:circleimageview:2.0.0'
}

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 22 (5 by maintainers)

Most upvoted comments

I met the same issue just now, and this is the solution, hope it helps:

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

Is jcenter configured in your root build.gradle?

allprojects {
    repositories {
        jcenter()
    }
}

Go to Files–>Settings–> Gradle Select "Use default gradle wrapper(recommended) AND UNCHECK “Offline work” Check box