i have a project and everything worked until i added Mikepenz Material Drawer
library. it seems to use the Material Themes which should be present but are not.
Error message while building gradle: Error retrieving parent for item: No resource found that matches the given name 'MaterialTheme'
(and all other material themes)
build.gradle file for :app
compileSdkVersion 23
buildToolsVersion "23.0.2"
defaultConfig {
applicationId "ir.yooneskh.booktemplate"
minSdkVersion 15
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
compile 'com.android.support:appcompat-v7:23.1.1'
(it's a piece of it)
Build tools installed:
What am i missing?
We need to add following libraries to resolve MaterialTheme error
implementation('com.mikepenz:materialize:0.8.5@aar') {
transitive = true
}
implementation 'com.mikepenz:iconics-core:2.5.8@aar'
implementation('com.mikepenz:materialdrawer:5.4.0@aar') {
transitive = true
}