compile 'com.android.support:appcompat-v7:25.3.1'
compile('com.mikepenz:materialdrawer:5.9.3@aar') {
transitive = true
}
But... 25.4.0 also doesn't work.
@gmoraiz that's not a MaterialDrawer specific issue.
Please follow Android / Google's guide on how to get the latest support libraries.
https://developer.android.com/topic/libraries/support-library/setup.html
I am having the same issue as OP. The developer doc you linked to (https://developer.android.com/topic/libraries/support-library/setup.html) doesn't solve the problem when I add google maven repo. What is the solution?
UPDATE:
the resolution is here - https://issuetracker.google.com/issues/62830109
@IgorGanapolsky please read the link. it does solve the problem
If you cannot get support lib 25.4.0 installed, you can exclude it.
No problem for me so far.
compile('com.mikepenz:materialdrawer:5.9.3@aar') {
transitive = true
exclude group: 'com.android.support'
}
Adding the Maven repository worked for me. Just put this code above your dependencies:
allprojects {
repositories {
jcenter()
maven {
url "https://maven.google.com"
}
}
}
dependencies {...}
Now, instead of 'maven {url "https://maven.google.com" }' just 'google()' will also work.
allprojects {
repositories {
. . .
google()
. . .
}
}
Most helpful comment
Adding the Maven repository worked for me. Just put this code above your dependencies: