This is what i originally had in my build.gradle file.
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:23.0.1'
compile 'com.android.support:design:23.0.1'
compile 'de.hdodenhof:circleimageview:2.0.0'
compile 'com.android.support:recyclerview-v7:23.0.1'
compile 'com.github.bumptech.glide:glide:3.6.1'
compile 'com.android.support:support-v4:23.0.1'
compile 'com.amulyakhare:com.amulyakhare.textdrawable:1.0.1'
compile 'com.github.clans:fab:1.6.1'
compile 'joda-time:joda-time:2.8.2'
compile 'com.android.support:cardview-v7:23.0.1'
compile 'com.afollestad:material-dialogs:0.7.9.1'
compile 'com.wdullaer:materialdatetimepicker:1.5.3'
compile 'com.android.support:palette-v7:23.0.1'
}
The library Material Dialog has been updated so i am trying to reflect the same in my gradle file.The library says i should add it like this.
dependencies {
compile('com.afollestad.material-dialogs:core:0.8.1.0@aar') {
transitive = true
}
}
So i tried this but it refuses to rebuild the project when i try this,with an error saying "failed to resolve:com.afollestad.material-dialogs:core:0.8.1.0"
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:23.0.1'
compile 'com.android.support:design:23.0.1'
compile 'de.hdodenhof:circleimageview:2.0.0'
compile 'com.android.support:recyclerview-v7:23.0.1'
compile 'com.github.bumptech.glide:glide:3.6.1'
compile 'com.android.support:support-v4:23.0.1'
compile 'com.amulyakhare:com.amulyakhare.textdrawable:1.0.1'
compile 'com.github.clans:fab:1.6.1'
compile 'joda-time:joda-time:2.8.2'
compile 'com.android.support:cardview-v7:23.0.1'
compile 'com.wdullaer:materialdatetimepicker:1.5.3'
compile 'com.android.support:palette-v7:23.0.1'
compile('com.afollestad.material-dialogs:core:0.8.1.0@aar') {
transitive = true
}
}
Could someone tell me what i am doing wrong here.