I’m trying to add ‘com.google.android.material:material:1.1.0’ to my app but it’s not working. What can I do?
The code part is below;
`dependencies {
implementation(libs.appcompat)
implementation(libs.material)
implementation(libs.activity)
implementation(libs.constraintlayout)
implementation 'com.google.android.material:material:1.1.0' //Bad Code
testImplementation(libs.junit)
androidTestImplementation(libs.ext.junit)
androidTestImplementation(libs.espresso.core)
}`
I wanted to add Navigation View to my application. At first I was supposed to add this plugin but it didn’t work, so I asked here.
New contributor
MNakruf is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.