Bilal Mustafa
Bilal Mustafa

Reputation: 740

Gradle fail to sync

I am using this library Here is a link I have already tried this link to solve the problem Here is a link But in vain.... But still problem is existing in gradle sync... Error of picture

Upvotes: 1

Views: 66

Answers (2)

Dima Kozhevin
Dima Kozhevin

Reputation: 3732

Add this to your app/build.gradle repositories:

maven { url 'https://jitpack.io' }

After that you should have like:

apply plugin: 'com.android.application'

repositories {
    maven { url 'https://maven.google.com' }
    maven { url 'https://jitpack.io' }
}

android {
...

Upvotes: 1

Pablo Baxter
Pablo Baxter

Reputation: 2234

You may want to take a closer look at the first link you provided. Here is a snippet from the readme of what you need to do:

Add this to your app/build.gradle repositories:

maven { url 'https://jitpack.io' }

Upvotes: 3

Related Questions