添加后我收到此错误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'
我省略了AppCompat Support Library
as 本文 http://android-developers.blogspot.mx/2015/05/android-design-support-library.html says.
我该如何修复它?
你可能有ScrimInsetsFrameLayout
用于您项目中的导航抽屉设计。删除 attr 中的这些属性资源并将抽屉布局替换为.
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)