My Android project was working well before two days with material dialog library 0.7.6.0
, but from last two days gradle
sync fail with
Error:(32, 13) Failed to resolve: com.afollestad:material-dialogs:0.7.6.0
So as per solutions on stack overflow I followed new library, but still Gradle can't build successfully.Here is my Gradle dependencies:
allprojects {
repositories {
jcenter()
maven { url "https://jitpack.io" }
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:22.1.0'
compile 'com.android.support:support-v4:22.1.0'
compile('com.afollestad.material-dialogs:core:0.8.1.0@aar') {
transitive = true
}
}