【发布时间】:2015-05-30 01:51:58
【问题描述】:
将compile 'com.android.support:design:22.2.0' 添加到我的 gradle 文件后出现此错误:
.../app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/22.2.0/res/values/values.xml 带有此消息Error:(1) Attribute "insetForeground" has already been defined。
我的 build.gradle 文件中有这个: `
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'
正如this article 所说,我省略了AppCompat Support Library。
我该如何解决?
【问题讨论】:
标签: android android-support-library android-design-library