I'm getting this error after add compile 'com.android.support:design:22.2.0'
to my gradle file:
.../app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/22.2.0/res/values/values.xml
with this message Error:(1) Attribute "insetForeground" has already been defined
.
I have this on my build.gradle file: `
compile 'com.android.support:design:22.2.0'
compile 'com.android.support:cardview-v7:22.2.0'
compile 'com.android.support:recyclerview-v7:22.2.0'
compile 'com.google.android.gms:play-services-base:7.5.0'
compile 'com.google.android.gms:play-services-location:7.5.0'
compile 'com.google.android.gms:play-services-gcm:7.5.0'
compile 'com.google.android.gms:play-services-maps:7.5.0'
I have omitted AppCompat Support Library
as this article says.
How can I fix it?
You might have ScrimInsetsFrameLayout
for your Navigation drawer design in your project. Remove those attribute resources in your attr and replace the drawer layout with NavigationView.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With