2.0.0-alpha* implementation "com.afollestad.material-dialogs:core:2.0.0-alpha05"
implementation "com.afollestad.material-dialogs:input:2.0.0-alpha05"
Add this to your repositories:
maven { url "https://dl.bintray.com/drummer-aidan/maven/" }
Does core resolve?
Have you tried the workaround mentioned at the bottom of the release notes for alpha01? https://github.com/afollestad/material-dialogs/releases/tag/2.0.0-alpha01
Also, alpha04 was released earlier yesterday
Yes, core works properly. Also adding the color dependency produce the same error.
Hmm, was there anything in your build Gradle logs other than failed to resolve?
I get the following. Manually adding the .aar for colors fails to implement too.
Adding this to my repositories fix it. Thanks!
maven { url "https://dl.bintray.com/drummer-aidan/maven/" }
It's not working for me either, rolling back to 0.9.6
@taar1 there's a workaround as mentioned above.
I've seen that and tried it out but it didn't work in my case either.
@taar1 so you have something similar to this in your app module's build.gradle?
repositories {
google()
jcenter()
maven { url "https://dl.bintray.com/drummer-aidan/maven/" }
}
dependencies {
....
}
@taar1 @KlaartjeD your app needs to use the same version of AndroidX that this lib does. Your app already resolved the dep just fine, now you're dealing with the local build system.
@afollestad i got a "error: failed linking references." issue while adding core, tried using the workaround in repository still same error..
@farislivemaker if you're using alpha10 your app needs to be using AndroidX instead of the now-legacy Support Library.
I just tried installing and ran into the same problem; however, I realized later that I was trying to download the wrong version.
How I thought versioning was done initially that the extension modules take the same version number as the core module. However, after taking a glance at the project I realized that the core module was at 2.0.0-beta6 while input was at 2.0.0-beta1. After I picked beta1 everything worked smoothly after that! Maybe this is the same problem everyone is facing without realizing and I thought it might be helpful mentioning it here.
I'm not sure if this is still relevant to this thread since its closed, but I still get Failed to resolve: com.afollestad.material-dialogs:input:2.0.0-rc1 without the temporary workaround. Putting it back works fine. 馃
Huh, I tried all of the modules last night from a fresh project and they resolved fine
I forgot to mention I had kept the workaround while installing. I was mentioning my issue as it wouldn't compile with the workaround as some other developers. However, yes without the workaround the problem still persists on my side as well.
Facing this as well. Core works fine, but input needs the mentioned workaround to resolve properly.
Facing the same problem with necessity to implement workaround.
What about the problem "Unresolved reference" if my project does not use androidx, which version should I use?
Adding this line to my app level gradle file solved the problem for me!
configurations.all {exclude group: 'com.android.support', module: 'support-v13'}
maven { url "https://dl.bintray.com/drummer-aidan/maven/" } woks...
Its somehow not pushed to jcenter but don't understand why...
@rene-dohan yeah there appears to be some sort of syncing issue on jCenter's end 馃槥
It appears Bintray does not provide support for this sort of thing unless you're an enterprise customer. Ugh.
I've filed a ticket with jCenter, awaiting a response now.
jCenter has relinked all of the dependencies from Bintray to jCenter, and have asked to retry now.
@clarklak11 @rene-dohan @VeegaP @serjooo ^^
Definitely appears to be fixed on my end
Most helpful comment
Adding this to my repositories fix it. Thanks!