Giter Club home page Giter Club logo

Comments (21)

aakash94 avatar aakash94 commented on May 26, 2024 2

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.
debug

from materialstyleddialogs.

javiersantos avatar javiersantos commented on May 26, 2024

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?

from materialstyleddialogs.

tellfa avatar tellfa commented on May 26, 2024

please see this :
9

from materialstyleddialogs.

tellfa avatar tellfa commented on May 26, 2024

how to fix it my dear friend?

from materialstyleddialogs.

tellfa avatar tellfa commented on May 26, 2024

how to fix it my dear friend?

from materialstyleddialogs.

javiersantos avatar javiersantos commented on May 26, 2024

Make sure that jcenter() is included before the maven repository.
screen shot 2016-02-19 at 10 38 17

from materialstyleddialogs.

tellfa avatar tellfa commented on May 26, 2024

Why show me this error? :( I need this library
10

from materialstyleddialogs.

javiersantos avatar javiersantos commented on May 26, 2024

Could you manually add this library in your dependencies and see if it works?

compile 'me.zhanghai.android.materialprogressbar:library:1.1.4'

from materialstyleddialogs.

tellfa avatar tellfa commented on May 26, 2024

When added this library show me this error :
11

from materialstyleddialogs.

javiersantos avatar javiersantos commented on May 26, 2024

Have you synced with Gradle your project after doing the changes? That is a mandatory step when changing your dependencies and repositories.
screen shot 2016-02-19 at 12 48 40

from materialstyleddialogs.

tellfa avatar tellfa commented on May 26, 2024

yes, sync my project and show this error

from materialstyleddialogs.

nyancrimew avatar nyancrimew commented on May 26, 2024

Is your Computer connected to the internet? (Sorry bout that stupid question but if not it will not work)

from materialstyleddialogs.

dtheodor79 avatar dtheodor79 commented on May 26, 2024

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!

from materialstyleddialogs.

nyancrimew avatar nyancrimew commented on May 26, 2024

Ok guys I will take a look at it for you two!

On 05 Mar 2016, at 19:14, dtheodor79 [email protected] 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 #8 (comment).

from materialstyleddialogs.

dtheodor79 avatar dtheodor79 commented on May 26, 2024

Thanks, cause the library looks very nice! ;)

from materialstyleddialogs.

javiersantos avatar javiersantos commented on May 26, 2024

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
    }
}

from materialstyleddialogs.

dtheodor79 avatar dtheodor79 commented on May 26, 2024

Just tried both cases, and still shows the same error :(

from materialstyleddialogs.

tellfa avatar tellfa commented on May 26, 2024

Show me error again 😞

from materialstyleddialogs.

javiersantos avatar javiersantos commented on May 26, 2024

Thank you for clarifying, @aakash94!

from materialstyleddialogs.

tellfa avatar tellfa commented on May 26, 2024

show me error again @aakash94

from materialstyleddialogs.

vish30 avatar vish30 commented on May 26, 2024

Thank you so much @aakash94 this solved the error for other jitpack.io repositories too.

from materialstyleddialogs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.