Comments (21)
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.
from materialstyleddialogs.
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.
from materialstyleddialogs.
how to fix it my dear friend?
from materialstyleddialogs.
how to fix it my dear friend?
from materialstyleddialogs.
Make sure that jcenter()
is included before the maven repository.
from materialstyleddialogs.
Why show me this error? :( I need this library
from materialstyleddialogs.
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.
When added this library show me this error :
from materialstyleddialogs.
Have you synced with Gradle your project after doing the changes? That is a mandatory step when changing your dependencies and repositories.
from materialstyleddialogs.
yes, sync my project and show this error
from materialstyleddialogs.
Is your Computer connected to the internet? (Sorry bout that stupid question but if not it will not work)
from materialstyleddialogs.
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.
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.
Thanks, cause the library looks very nice! ;)
from materialstyleddialogs.
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.
Just tried both cases, and still shows the same error :(
from materialstyleddialogs.
Show me error again
from materialstyleddialogs.
Thank you for clarifying, @aakash94!
from materialstyleddialogs.
show me error again @aakash94
from materialstyleddialogs.
Thank you so much @aakash94 this solved the error for other jitpack.io repositories too.
from materialstyleddialogs.
Related Issues (20)
- Custom layout HOT 1
- Customize Buttons
- New App using this library
- Make Links in description clickable
- Enforcing DarkTheme the Dialog background is always white HOT 1
- Application stops when loading a dialog with custom view for the second time HOT 2
- Can we control the positive Button of the dialog.Like if I click Okay button, then dialog box should not dismiss.
- how to remove header, i just want the bottom part like normal dialog.
- material styled dialog not showing on android version 7.1.1 HOT 2
- java.lang.NoSuchFieldError: No static field MD_Dark of type I in class Lcom/github/javiersantos/materialstyleddialogs/R$styl HOT 1
- How to dismiss automatic ?
- Unexcepted Token
- How to validate the form when positive button click?
- header height
- How is positive and negative buttons size change? HOT 1
- .setHeaderDrawable() Can you display network pictures? HOT 2
- failed to resolve even after adding Jitpack, HOT 1
- Kotlin implementation HOT 2
- Support new version with Java code HOT 1
- Ambiguous method call. Both [Java] HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from materialstyleddialogs.