Am using androidx support library, Included the library for
com.google.android.material:material:1.1.0-alpha05
am getting the error while building the application, I haven't used any card view in my application.
Android resource linking failed
error: resource style/CardView (aka com.app.myapp:style/CardView) not found.
error: style attribute 'attr/cardElevation (aka com.app.myapp:attr/cardElevation)' not found.
error: style attribute 'attr/cardBackgroundColor (aka com.app.myapp:attr/cardBackgroundColor)' not found.
error: style attribute 'attr/cardCornerRadius (aka com.app.myapp:attr/cardCornerRadius)' not found.
error: failed linking references.
Already tried using SO Thread1 ,SO Thread2 ,SO Thread3
But haven't found any solution yet.
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'androidx.appcompat:appcompat:1.1.0-alpha04'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.core:core-ktx:1.1.0-alpha05'
implementation 'androidx.cardview:cardview:1.0.0' // Included
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'com.google.android.material:material:1.1.0-alpha05'
implementation 'com.jakewharton.timber:timber:4.7.1'
implementation 'com.google.code.gson:gson:2.8.2'
implementation 'com.nabinbhandari.android:permissions:3.8'
implementation project(':volley-master')
testImplementation 'junit:junit:4.12'
}
I can't able to use any view with "com.google.android.material" same error, please help me solve it.