Closed tellfa closed 8 years ago
Please, make sure you have included the jcenter()
repository in your project build.gradle too.
repositories {
jcenter()
maven {
url "https://jitpack.io"
}
}
Does it solve your issue?
please see this :
how to fix it my dear friend?
how to fix it my dear friend?
Make sure that jcenter()
is included before the maven repository.
Why show me this error? :( I need this library
Could you manually add this library in your dependencies and see if it works?
compile 'me.zhanghai.android.materialprogressbar:library:1.1.4'
When added this library show me this error :
Have you synced with Gradle your project after doing the changes? That is a mandatory step when changing your dependencies and repositories.
yes, sync my project and show this error
Is your Computer connected to the internet? (Sorry bout that stupid question but if not it will not work)
Hello, I have the exact same issue. I have added the maven repository as you describe, however Android Studio 1.5.1 complains:
Error:(104, 13) Failed to resolve: com.github.javiersantos:MaterialStyledDialogs:1.2.1
Note, that the other library you mentioned ( me.zhanghai.android.materialprogressbar:library:1.1.4 ) is added successfully.
Any way to resolve it? Thanks!
Ok guys I will take a look at it for you two!
On 05 Mar 2016, at 19:14, dtheodor79 notifications@github.com wrote:
Hello, I have the exact same issue. I have added the maven repository as you describe, however it Android Studio 1.5.1 complains:
Error:(104, 13) Failed to resolve: com.github.javiersantos:MaterialStyledDialogs:1.2.1
Note, that the other library you mentioned ( me.zhanghai.android.materialprogressbar:library:1.1.4 ) is added successfully.
Any way to resolve it? Thanks!
— Reply to this email directly or view it on GitHub https://github.com/javiersantos/MaterialStyledDialogs/issues/8#issuecomment-192700551.
Thanks, cause the library looks very nice! ;)
Guys, could you use this Gradle dependency instead of the current one and check if it works? Thanks!
dependencies {
compile 'com.github.javiersantos:MaterialStyledDialogs:1.2.2@aar'
}
or
dependencies {
compile('com.github.javiersantos:MaterialStyledDialogs:1.2.2@aar') {
transitive = true
}
}
Just tried both cases, and still shows the same error :(
Show me error again :disappointed:
I had the exact same error, it is because of pasting the code in the wrong place in the project's build.gradel , I am uploading an image to clarify this..
maven { url "https://jitpack.io" }
must be in the allprojects and not in buildscripts
this is my code that works perfectly for me.
Thank you for clarifying, @aakash94!
show me error again @aakash94
Thank you so much @aakash94 this solved the error for other jitpack.io repositories too.
Hi, when clone this project in Android Studio 1.5.1 show me this error : My SDK version : 23.1.1 (lasted). how to fix it?