android studio actionbarsherlock,在Android Studio 0.5.8中向Action Bar Sherlock添加依赖项后出错...

好的,我知道这个问题已被问过很多..而且,我也尝试过在SO中发布的几种方法.但似乎没有一个对我有用.

那么,我就是这样做的.我在gradle文件中的依赖项中添加了这行代码:

compile 'com.actionbarsherlock:actionbarsherlock:4.4.0@aar'

但是当我尝试使用gradle同步我的项目时,它给了我这些错误:

Gradle invocation completed successfully with 75 error(s) in 30 sec

这些是错误:

D:\RandomProjects\SwipeExperiment\SwipeExperiment\build\exploded-aar\com.android.support\appcompat-v7\19.1.0\res\values\values.xml

Error:Attribute "titleTextStyle" has already been defined

Error:Attribute "subtitleTextStyle" has already been defined

Error:Attribute "divider" has already been defined

Error:Attribute "background" has already been defined

Error:Attribute "backgroundSplit" has already been defined

Error:Attribute "actionDropDownStyle" has already been defined

Error:Attribute "dropdownListPreferredItemHeight" has already been defined

Error:Attribute "popupMenuStyle" has already been defined

D:\RandomProjects\SwipeExperiment\SwipeExperiment\build\exploded-aar\com.actionbarsherlock\actionbarsherlock\4.4.0\res\values\values.xml

Error:Attribute "navigationMode" has already been defined

Error:Attribute "displayOptions" has already been defined

Error:Attribute "title" has already been defined

Error:Attribute "subtitle" has already been defined

Error:Attribute "icon" has already been defined

Error:Attribute "logo" has already been defined

Error:Attribute "backgroundStacked" has already been defined

.

.

.

Error:Attribute "windowActionBarOverlay" has already been defined

Error:Attribute "windowSplitActionBar" has already been defined

Error:Attribute "listPopupWindowStyle" has already been defined

Error:Attribute "activityChooserViewStyle" has already been defined

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值