Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to resolve library dependency #42

Closed
Shnkc opened this issue Aug 5, 2015 · 3 comments
Closed

Failed to resolve library dependency #42

Shnkc opened this issue Aug 5, 2015 · 3 comments

Comments

@Shnkc
Copy link

Shnkc commented Aug 5, 2015

apply plugin: 'com.android.application'

android {
    compileSdkVersion 22
    buildToolsVersion '22.0.1'

    defaultConfig {
        applicationId "com.example.app"
        minSdkVersion 15
        targetSdkVersion 21
        versionCode 1
        versionName "1.0.1"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    compile 'com.github.ozodrukh:CircularReveal:1.1.0'

}

I've got following error.

Error:(31, 13) Failed to resolve: com.github.ozodrukh:CircularReveal:1.1.0

My gradle version : 1.2.3

Is there a problem on dependency?

@thinwonton
Copy link

add repo url to gradle, it will work fine.

repositories {
        maven {
            url "https://jitpack.io"
        }
    }

@vipulasri
Copy link

Please add this portion

repositories {
  maven {
    url "https://jitpack.io"
  }
}

and rename :

compile 'com.github.ozodrukh:CircularReveal:1.1.0'

to

compile 'com.github.ozodrukh:CircularReveal:1.1.1@aar'

@Shnkc Shnkc closed this as completed Aug 14, 2015
@Shnkc
Copy link
Author

Shnkc commented Aug 14, 2015

Thanks, it worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants